[Fontconfig-bugs] [Bug 101889] Make fontconfig cache relocatable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 20 16:31:53 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101889

--- Comment #39 from Alexander Larsson <alexl at redhat.com> ---
I tried this a bit, and overall it seems to work great. Initial app startup is
much much faster.

However, there seem to be an issue remaining. If a system font is in a
subdirectory of /usr/share/fonts it will not be picked up, because the subdirs
in the cache are stored by absolute pathname too. I think we need to strip
cache->dir from the paths in cache->dirs[] and apply the real dir in when we
add the subdirs in FcConfigAddCache().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170920/fdadf597/attachment.html>


More information about the Fontconfig-bugs mailing list