只要修改/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中文都可以正常显示了,赶紧试试吧!
ubuntu - chrome 标题栏, 书签乱码 解决,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/kevin922/p/3719336.html