Bug 60748

Summary: broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Product: fontconfig Reporter: Petr Zima <zima>
Component: confAssignee: fontconfig-bugs
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: akira
Version: 2_1   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Petr Zima 2013-02-12 21:40:17 UTC
Enabling 10-autohint.conf (symlinking in conf.avail) does not work, autohint is still switched off:

$ fc-match '' autohint
:autohint=False,True

Similar problem is with 10-unhinted.conf.

The breakage appeared due to commit 1aaf8b77 (fixing bug #17722), please take a look at it. The approach with mode="append" instead of mode="assign" works well with rgba and lcdfilter, because they have no default value. On the other hand, autohint and hinting have default values and hence the appended value comes second having no effect.
Comment 1 Akira TAGOH 2013-02-18 06:09:13 UTC
Fixed in git master. but with the different way. I've changed the target from "font" to "pattern". that would works in both cases, yours and the original bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.