[Fontconfig-bugs] [Bug 106618] Relocated caches not quite working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 23 14:14:48 UTC 2018


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

--- Comment #12 from Alexander Larsson <alexl at redhat.com> ---
Here is a new patch series that rewrites the paths earlier. Its somewhat
wasteful with space, as it makes copies of the FcPattern and FcPatternElt
objects in the case where we're using a relocated directory (but not by
default), but it still uses the FcValueLists from the cache. The values were
75% of the cache in my short tests.

Technically it would be possible to not duplicate the FcPatternElt, and instead
make all the users of it special case FC_FILE, but that seems like a large
change that easily can miss some corner case.

I'll apply this to a flatpak runtime build and try libreoffice against it.

-- 
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/20180523/32a56e68/attachment.html>


More information about the Fontconfig-bugs mailing list