weak fonts in Linux
时间:2006-06-20 来源:anhongkui
to deal with this problem, please add this strings in /etc/fonts/fonts.conf
<!--
add by oneself....
-->
<match target="pattern">
<test qual="any name="size" compare="1">
<int>12</int>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<!--
add by oneself....
-->
<match target="pattern">
<test qual="any name="size" compare="1">
<int>12</int>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<!--my fonts additions configure-->
<!-- 关闭所有10至15号字体的抗锯齿功能-->
<match target="font" >
<test compare="more" name="pixelsize" qual="any">
<double>10</double>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>15</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<!-- 调整文字间距过大问题 -->
<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>zh-tw</string>
<string>zh-cn</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>
相关阅读 更多 +