宝宝

明月饰窗

解决chrome/chromium的宋体显示发虚问题

ubuntu11.10的默认字体采用的是文泉驿微米黑,还是蛮漂亮的,可恶的是chrome和chromium的宋体很恶心,无法设置。虚的要命。解决方法包括:

1.首选项里的设置

2.修改.font.conf配置文件/etc/fonts/fonts.conf ,原理为字体的重新映射,将宋体替换为文泉驿微米黑,添加:


<!--added by qby-->
<match target="pattern">
<test name="family"><string>SimSun</string></test>
<test name="weight" compare="more_eq"><const>bold</const></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>

<match target="font">
<test qual="any" name="family"><string>SimSun</string></test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>

<match target="pattern">
<test name="family"><string>宋体</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>

<match target="pattern">
<test name="family"><string>simsun</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>

<match target="pattern">
<test name="family"><string>arial</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>

<match target="pattern">
<test name="family"><string>新宋体</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>
<match target="pattern">
<test name="family"><string>仿宋_GB2312</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>
<match target="pattern">
<test name="family"><string>楷体_GB2312</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match>
<match target="pattern">
<test name="family"><string>黑体</string></test>
<edit name="family" mode="assign"><string>wenquanyi micro hei</string></edit>
</match> 



阅读更多
文章标签: chrome ubuntu
个人分类: Linux
想对作者说点什么? 我来说一句

mac 微软雅黑字体

2018年04月08日 23.36MB 下载

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭