Comment 7 for bug 633644

Revision history for this message
In , Behdad (behdad-redhat-bugs) wrote :

Oki doki, the machinery is already there.

RPM should use fc-query, and set envvar FONTCONFIG_FILE to the absolute path of a file containing the following:

<fontconfig>
<cachedir>path/to/build/dir/var/cache/fontconfig</cachedir>
<dir>path/to/build/dir/etc/fonts/conf.d</dir>
</fontconfig>

The cachedir is unused, but needs to be available. Alternatively you can point it to /tmp.

Let me know if it works.