[Fontconfig] overwrite default boolean values

Akira TAGOH akira at tagoh.org
Tue Feb 12 17:58:51 PST 2013


We seem having an issue in some recipes to overwrite the boolean value as a
bug[1] is being reported. originally this change was supposed to not break
the desktops' configuration and respect it. however it's broken now,
because the default boolean values is set at FcDefaultSubstitute() prior to
perform the target="font" matching rules. so when trying to evaluate
10-autohint.conf say, if there are no explicit boolean value to autohint
object, "False" is always set.

My proposal to fix this is to move such recipes to target="pattern". it
would works since we've changed the behavior to inherit values in the
pattern to the result.

any other ideas or comments about this?

[1] https://bugs.freedesktop.org/show_bug.cgi?id=60748

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20130213/4fca659e/attachment.html>

More information about the Fontconfig mailing list