[Fontconfig] Loading a font database without a font directory

David Lattimore dml at google.com
Wed Jan 7 16:15:53 PST 2015

I'm currently using FontConfig in a server-side application. Currently I
have a single directory containing our fonts that we get FontConfig to
index on startup. I'd like to instead have these fonts on a remote server
and only retrieve them when required, but would want to continue to use
FontConfig locally to decide which font to retrieve. From looking through
the code for FcDirCacheLoadFile, it looks like it validates the cache by
checking the font directory from which the cache was created and then
refuses to load the cache if that validation fails. Is there any way to
load a previously generated cache file without the associated font
directory being present?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20150108/9c87f163/attachment.html>

More information about the Fontconfig mailing list