[Fontconfig-bugs] [Bug 101889] Make fontconfig cache relocatable
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 21 12:05:55 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101889
--- Comment #21 from Akira TAGOH <akira at tagoh.org> ---
(In reply to Behdad Esfahbod from comment #20)
> Aren't you leaking the string?
No, all of the allocated memory will be freed when caches is closed.
> I don't like this. This is still making caches consume private memory. I
> think what I sketched in
> https://bugs.freedesktop.org/show_bug.cgi?id=101889#c17 should be
> implemented. I can do it myself if you don't want to.
Hmm, I was trying to understand and implement what you were suggesting, but
there are no way to obtain the font dirs from FcConfig in
FcPatternObjectGetWithBinding() because of the infinite loop of a call of
FcPatternObjectGetWithBinding() through FcInitLoadConfigAndFonts() to get an
instance of the initialized FcConfig...
--
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/20170821/acd602d8/attachment.html>
More information about the Fontconfig-bugs
mailing list