在使用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上的字型啦,在編輯--喜好設定--內容下字型變更啦。