Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Summary: broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: 2_1
Hardware: All All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 21:40 UTC by Petr Zima
Modified: 2013-02-18 06:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.