Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=517789
--- Comment #17 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-09-07 15:28:58 EDT --- (In reply to comment #13)
- Given this scheme, and for RPM font tagging to work correctly (that is, to
tag with "Droid Sans" instead of "Droid Sans Japanese"), we need to switch the RPM hook from calling fc-query to call fc-scan instead. The arguments are the same, the latter also applies the configuration rules. That should do it, except for a but that I just fixed, so next fontconfig release will have it. Can you communicate the change with Panu?
That's not a problem
Sorry I confused it with scriptlets, the fc-query part is Panu-side indeed. Filled bug #521697 to track the rpm part
However, if I understand the logic correctly, you want to replace fc-query with fc-scan to take into account fontconfig rules. That's a great idea *except* the package fontconfig files won't be installed in the build root at this time !
So if that's really the intention, fc-scan needs to grow an argument so we can pass it a set of additional fontconfig files (or a directory containing fontconfig files) explicitely