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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 23 03:07:16 UTC 2018


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

Akira TAGOH <akira at tagoh.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|fontconfig-bugs at lists.freed |akira at tagoh.org
                   |esktop.org                  |
                 CC|                            |akira at tagoh.org,
                   |                            |fontconfig-bugs at lists.freed
                   |                            |esktop.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Akira TAGOH <akira at tagoh.org> ---
FcFontSet returned by FcConfigGetFonts() is actually the raw cache data which
is mmap'ed. as we decided not to modify caches itself, this code won't work as
expected. the path in FcPattern is modified when the copies of FcPattern from
cache is being created in FcFontMatch and FcFontList. we need to change both
fontconfig and LO to get this working. i.e. an API in fontconfig to obtain the
path where points to /run/host/fonts, and use it in LO instead of looking up
FC_FILE directly. hmm, it was there. but I've removed it because it wasn't used
anywhere anymore, but anyway.

I'll work on it.

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


More information about the Fontconfig-bugs mailing list