粗体模模糊糊的怎么办?
gentoo升级到了xorg-x11-7.0.1, fontconfig-2.3.2, freetype-2.1.10sans 粗体模糊,笔画密的会密得粘在一起,常规字体也发虚,怎么办?
我没有打任何补丁, /etc/fonts/local.conf主要部分如下 :
<match target="font">
<test name="family" qual="any">
<string>Tahoma</string>
<string>Verdana</string>
<string>Arial</string>
<string>Times</string>
<string>Times New Roman</string>
<string>Courier</string>
<string>Courier New</string>
<string>SimSun</string>
<string>MingLiU</string>
</test>
<!--
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
<edit mode="assign" name="hint">
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
-->
</match>
<match target="font">
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Tahoma</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>SimSun</string>
</edit>
</match>
/etc/fonts/fonts.conf里面有这样一段话,是默认有的,是否这就是实现粗体的关键?
<!--
Synthetic emboldening for fonts that do not have bold face available
-->
<match target="font">
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<int>100</int>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" name="weight" compare="more_eq">
<int>200</int>
</test>
<!-- set the embolden flag -->
<edit name="embolden" mode="assign">
<bool>true</bool>
</edit>
</match>
页:
[1]