[Fontconfig-bugs] [Bug 101889] Make fontconfig cache relocatable
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 2 13:39:24 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101889
--- Comment #14 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to Alexander Larsson from comment #11)
> 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.
I was under the impression that FcPattern is public struct. I'm truly relieved
to learn that I was wrong. It's FcValue that is public, but not FcPattern.
So, yes, we can do all sort of things. I know what we need to do... I'll write
here in a bit.
--
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/4be36a73/attachment.html>
More information about the Fontconfig-bugs
mailing list