ubuntu - chrome 标题栏, 书签乱码 解决

只要修改/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>


之后flash中文和chromium中文都可以正常显示了,赶紧试试吧!

posted @ 2014-05-09 17:26  kv9  阅读(1952)  评论(2编辑  收藏  举报