不记得从哪里找了一份字体配置文件,效果很好,完全可以让英文版的Chrome的中文显示良好,在这里留个底,也分享给所有看到这篇文章的人。
我的Ubuntu 11.04里没有这个文件,我新建了一个 /etc/fonts/local.conf
- <fontconfig>
-
<match target="pattern">
-
<test qual="any" name="family">
-
<string>serif</string>
-
</test>
-
<edit name="family" mode="prepend" binding="strong">
-
<string>Ubuntu</string>
-
<string>WenQuanYi Micro Hei</string>
-
<string>AR PL UMing CN</string>
-
<string>AR PL ShanHeiSun Uni</string>
-
<string>Bitstream Vera Serif</string>
-
<string>DejaVu Serif</string>
-
<string>AR PL UKai CN</string>
-
<string>AR PL ZenKai Uni</string>
-
</edit>
-
</match>
-
-
<match target="pattern">
-
<test qual="any" name="family">
-
<string>sans-serif</string>
-
</test>
-
<edit name="family" mode="prepend" binding="strong">
-
<string>Ubuntu</string>
-
<string>WenQuanYi Micro Hei</string>
-
<string>Bitstream Vera Sans</string>
-
<string>DejaVu Sans</string>
-
<string>WenQuanYi Zen Hei</string>
-
<string>AR PL UMing CN</string>
-
<string>AR PL ShanHeiSun Uni</string>
-
<string>AR PL UKai CN</string>
-
<string>AR PL ZenKai Uni</string>
-
</edit>
-
</match>
-
-
<match target="pattern">
-
<test qual="any" name="family">
-
<string>monospace</string>
-
</test>
-
<edit name="family" mode="prepend" binding="strong">
-
<string>WenQuanYi Micro Hei Mono</string>
-
<string>Bitstream Vera Sans Mono</string>
-
<string>DejaVu Sans Mono</string>
-
<string>WenQuanYi Zen Hei</string>
-
<string>AR PL UMing CN</string>
-
<string>AR PL ShanHeiSun Uni</string>
-
<string>AR PL UKai CN</string>
-
<string>AR PL ZenKai Uni</string>
-
</edit>
-
</match>
-
</fontconfig>
阅读(3468) | 评论(0) | 转发(0) |