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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 2 13:13:49 UTC 2017


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

--- Comment #11 from Alexander Larsson <alexl at redhat.com> ---
You probably want to change how filenames are stored in the cache (not that i
know how it works now), so that filename values are indexes into an array of
offsets. 
Then when you're rewriting filenames you can use the index with an in-memory
array of (rewritten) strings instead.

That would make it simple to do the rewrites too. You don't have to scan the
entire cache, just rewrite everything in that table.

-- 
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/20170802/9cc60f77/attachment.html>


More information about the Fontconfig-bugs mailing list