粗体与标点。
1. 我使用黑体代替粗体,但它把英文字体同时替换了。 :(2. 双引号变成了方块。 :cry:
我用的是FreeBSD 4.8 + KDE 3.1.4
我的local.conf如下:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- for simsun.ttc -->
<match target="font">
<test name="family"><string>SimSun</string></test>
<edit name="antialias"><bool>true</bool></edit>
<edit name="hinting"><bool>true</bool></edit>
<edit name="autohint"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>NSimSun</string></test>
<edit name="antialias"><bool>true</bool></edit>
<edit name="hinting"><bool>true</bool></edit>
<edit name="autohint"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>SimSun</string></test>
<test name="size" compare="less_eq"><int>16</int></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>NSimSun</string></test>
<test name="size" compare="less_eq"><int>16</int></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<test name="family"><string>SimSun</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match targe="font">
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<edit name="family" mode="assign_replace">
<string>SimHei</string>
</edit>
<edit name="weight" mode="assign_replace">
<const>medium</const>
</edit>
</match>
</fontconfig>
页:
[1]