<!--
-->
<bool>true</bool>
</edit>
</match>
<const>hintfull</const>
</edit>
</match>
<const>none</const>
</edit>
</match>
<!--
Some people may want to turn it off:
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
<string>ko</string>
<string>ja</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
-->
<!--
Chinese fonts are too light. We want to darken them up.
darken_value is an int between 1 and 9 where 1 is a little
darker and 9 is very dark. The default is 6.
-->
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
</test>
<edit name="darken" mode="assign">
<bool>true</bool>
</edit>
<edit name="darken_value" mode="assign">
<int>6</int>
</edit>
</match>
<!--
To avoid using embedded bitmaps in TrueType fonts
put the following rule in your personal ~/.fonts.conf file:
<match target="pattern">
<edit name="prefer_bitmap">
<bool>false</bool>
</edit>
</match>
-->
<match target="pattern">
<edit name="prefer_bitmap">
<bool>true</bool>
</edit>
</match>
<match target="font">
<!-- check to see if the font is roman -->
<test name="slant">
<const>roman</const>
</test>
<!-- check to see if the pattern requested non-roman -->
<test target="pattern" name="slant" compare="not_eq">
<const>roman</const>
</test>
<edit name="prefer_bitmap">
<bool>false</bool>
</edit>
</match>
<!-- Latin fonts should not be used for ASCII characters when using
Japanese monospace families -->
<match target="pattern">
<test name="family">
<string>monospace</string>
</test>
<test name="lang" compare="eq">
<string>ja-jp</string>
</test>
<edit name="disable_pango_script">
<bool>true</bool>
</edit>
</match>
</fontconfig>