Ubuntu字體美化過程:
1,、新建一個(gè)目錄/usr/share/fonts/truetype/windows
2,、拷貝Windows下的以下字體文件:simsun.ttc tahomabd.ttf tahoma.ttf verdanab.ttf verdanai.ttf verdana.ttf verdanaz.ttf到剛新建的目錄下。
3,、cd /usr/share/fonts/truetype/windows
sudo mkfontdir .
sudo mkfontscale
sudo unlink /etc/fonts/language-selector.conf
sudo ln -s /usr/share/language-selector/fontconfig/zh_CN /etc/fonts/language-selector.conf
4,、修改/etc/fonts/language-selector.conf文件。加入
- <fontconfig>
- <alias>
- <family>serif</family>
- <prefer>
- <family>Bitstream Vera Serif</family>
- <family>DejaVu Serif</family>
- <family>Simsun</family>
- <family>AR PL ShanHeiSun Uni</family>
- <family>WenQuanYi Bitmap Song</family>
- <family>AR PL ZenKai Uni</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Bitstream Vera Sans</family>
- <family>DejaVu Sans</family>
- <family>Simsun</family>
- <family>AR PL ShanHeiSun Uni</family>
- <family>WenQuanYi Bitmap Song</family>
- <family>AR PL ZenKai Uni</family>
- </prefer>
- </alias>
- ......
5、最后,,重啟X,,將系統(tǒng)的字體全部改成Tahomo,并將字體設(shè)為不進(jìn)行邊緣處理,。