一、安裝wqy-zenhei字體 chrome
sudo apt-get install ttf-wqy-zenhei app
二、修改系統字體配置文件/etc/fonts/conf.d/49-sansserif.conf 字體
打開/etc/fonts/conf.d/49-sansserif.conf這個文件:
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
而後修改倒數第四行的字體爲WenQuanYi Zen Hei,以下:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>WenQuanYi Zen Hei</string>
</edit>
</match>
</fontconfig> spa
三、重啓chrome,OK!!! xml