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 -->
------------------------------------------------
的前面插入如下内容:
<!
[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 -->
------------------------------------------------
的前面插入如下内容:
<!