1. 首先复制WindowsXP下的3个字体。
LANG="zh_CN.GBK"
LC_ALL="zh_CN.GBK"
export LC_ALL=zh_CN.GBK
export LC_CTYPE=zh_CN.GBK
export XIM=fcitx
export XMODIFIERS="@im=fcitx"
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
fcitx&
exec startxfce4
5. 在这里我引用了我BSD下的一个字体相关文件 .fonts.conf 把她放在自己的根目录下即可拉!这样字体效果会好不少。
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- for simsun.ttf -->
<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>NSimSun</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
