编辑文件“vi ~/.fonts.conf”
vi ~/.fonts.conf输入以下内容
<?xml version="1.0″?>
<!DOCTYPE fontconfig SYSTEM “fonts.dtd"?>
<fontconfig>
<match target="font">
<test qual="any" name="family">
<string>
SimSun
</string>
<string>
宋体
</string>
<string>
NSimSun
</string>
<string>
新宋体
</string>
</test>
<test name="weight" compare="less_eq" target="pattern">
<const>
medium
</const>
</test>
<test compare="less_eq" name="pixelsize">
<double>
17
</double>
</test>
<edit name="antialias" mode="assign">
<bool>
false
</bool>
</edit>
<edit name="embeddedbitmap" mode="assign">
<bool>
true
</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>
true
</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>
hintfull
</const>
</edit>
<edit name="autohint" mode="assign">
<bool>
false
</bool>
</edit>
</match>
</fontconfig>