centos 安装文泉驿字体教程,centos文泉驿字体下载字体(URL:h
在使用Firefox浏览网页时,黑色的字体老感觉好淡,看不清,网友对文泉驿字体评价很高,我今天就选装这么一种字体。
下载字体(URL:http://sourceforge.net/projects/wqy/files/)我在这就下载安装wqy- microhei,得到一个压缩包wqy-microhei-0.2.0-beta.tar.gz;(wqy-zenhei也不错的字体哦)
#tar -zxvf wqy-microhei-0.2.0-beta.tar.gz
#mv wqy-microhei /usr/share/fonts/
#cd /usr/share/fonts/wqy-microhei
#ls (查看是否有fonts.dir和fonts.scale这个2文件,有的话重命名或者删除)
#mkfontdir (建立fonts.dir文件)
#cp fonts.dir fonts.scale
#vi /etc/X11/fs/config
catalogue = /usr/share/X11/fonts/misc:unscaled,
/usr/share/X11/fonts/75dpi:unscaled,
/usr/share/X11/fonts/100dpi:unscaled,
/usr/share/X11/fonts/Type1,
/usr/share/X11/fonts/TTF,
/usr/share/fonts/default/Type1,
,
/usr/share/fonts/chinese/misc:unscaled,
/usr/share/fonts/chinese/misc,
/usr/share/fonts/chinese/TrueType
改成:
catalogue = /usr/share/X11/fonts/misc:unscaled,
/usr/share/X11/fonts/75dpi:unscaled,
/usr/share/X11/fonts/100dpi:unscaled,
/usr/share/X11/fonts/Type1,
/usr/share/X11/fonts/TTF,
/usr/share/fonts/default/Type1,
,
/usr/share/fonts/chinese/misc:unscaled,
/usr/share/fonts/chinese/misc,
/usr/share/fonts/chinese/TrueType,
/usr/share/fonts/wqy-microhei/
保存,退出。
注意红色字体内容
注销当前帐户,并重新登录。
系统---首选项---字体
设置想要的显示字体为文泉驿等宽微米黑即可,当然你可以更改Firefox上的字体啦,在编辑--首选项--内容下字体进行更改啦。