1)到你或你的朋友的windows系统中拷个simsun.ttc到你的linux系统中:
[root@ghm fonts]# cp simsun.ttc /usr/share/fonts/zh_CN/TrueType/
(2)在字体目录中创建字体索引:
[root@ghm fonts]# fc-cache /usr/share/fonts/zh_CN/TrueType/
好了,字体安装完毕,现在你的系统可以用simsun.ttc字体了。打开firefox上 http://www.linuxsir.org/bbs看看中文显示的效果?不错吧,可惜中文好了,英文发虚了。别急,改下字体配制文件fonts.conf就好啦。
(3)修改fonts.conf文件,禁用simsun字体的antialias功能:
[root@ghm fonts]# vi /etc/fonts/fonts.conf
在
<!--
Some Asian fonts misadvertise themselves as monospaced when
in fact they are dual-spaced (half and full). This makes
FreeType very confused as it forces all widths to match.
Undo this magic by disabling the width forcing code -->
------------------------------------------------
的前面插入如下内容:
<!----------------------要插入的内容(不要把这行也加进去啊)--------------------->
<match target="font">
<test name="family"><string>SimSun</string></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>
美化好了,重启系统,把firefox的字体改为simsun,上网看看效果?亮了吧?
[root@ghm fonts]# cp simsun.ttc /usr/share/fonts/zh_CN/TrueType/
(2)在字体目录中创建字体索引:
[root@ghm fonts]# fc-cache /usr/share/fonts/zh_CN/TrueType/
好了,字体安装完毕,现在你的系统可以用simsun.ttc字体了。打开firefox上 http://www.linuxsir.org/bbs看看中文显示的效果?不错吧,可惜中文好了,英文发虚了。别急,改下字体配制文件fonts.conf就好啦。
(3)修改fonts.conf文件,禁用simsun字体的antialias功能:
[root@ghm fonts]# vi /etc/fonts/fonts.conf
在
<!--
Some Asian fonts misadvertise themselves as monospaced when
in fact they are dual-spaced (half and full). This makes
FreeType very confused as it forces all widths to match.
Undo this magic by disabling the width forcing code -->
------------------------------------------------
的前面插入如下内容:
<!----------------------要插入的内容(不要把这行也加进去啊)--------------------->
<match target="font">
<test name="family"><string>SimSun</string></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>
美化好了,重启系统,把firefox的字体改为simsun,上网看看效果?亮了吧?