请教一个fontconfig的问题。
firefly的local.conf中有这么一段,导致所有中日韩的字体都必须autohint了,我有一款中文字体,不想autohint,请问该怎么写local.conf?
[code:1]<!--
Add by firefly@firefly.idv.tw
-->
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="usegamma" mode="assign">
<if>
<less>
<name>pixelsize</name>
<double>20</double>
</less>
</if>
<bool>true</bool>
<bool>false</bool>
</edit>
</match>[/code:1]
|