centos 安裝文泉驛字型相關教程

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.