[Fontconfig-bugs] [Bug 102141] fontconfig git makes gimp not see fonts.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 21 04:06:29 UTC 2017


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

--- Comment #4 from Michael Forney <mforney at mforney.org> ---
I don't quite understand your fix in dc56ff80.

In 2.12.4, a failure in FcConfigFile or FcOpen both lead to bail with error ==
FcTrue, causing the warning message to print and FcFalse to be returned.

In 2.12.5, a failure in either of those causes FcConfigParseAndLoad to just
return FcTrue.

My system doesn't have a fontconfig config file, and just uses the fallback
configuration. However, as of 2.12.5, FcConfigParseAndLoad returns FcTrue when
the config doesn't exist causing FcInitLoadOwnConfig to not load the fallback
config.

Reverting dc56ff80 solves the issue for me. I don't understand what issue it
was meant to fix, but it does not seem to "Keep the same behavior to the return
value of FcConfigParseAndLoad" as the commit message suggests.

-- 
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/20170921/8097b549/attachment.html>


More information about the Fontconfig-bugs mailing list