勤&快

问题其实就是你期望的东西和你体验的东西之间的差别
随笔 - 55, 文章 - 0, 评论 - 68, 引用 - 0
数据加载中……

使用文泉驿正黑配置ubuntu9.04字体

安装正黑之后,基本所有字体都很好的显示。
只是部分字体,如pidgin对话中的字体,ubuntuforums.org的字体,还不是很好看。据说是因为uming是默认san字体。
可以修改配置文件修改这些字体的显示:

解决,就是修改uming的映射关系

注意:下面是配置文件片段,请勿直接拷贝。

本文是我方便自己查阅之用,不是正式教程,如需详细配置文件,请联系我

30-cjk-aliases.conf


<!-- Aliases for Simplified Chinese Windows fonts -->

<alias>

<family>SimSun</family>

<family>NSimSun</family>

<family>SimSun-18030</family>

<family>NSimSun-18030</family>

<family>AR PL UMing</family>

<family>AR PL ShanHeiSun Uni</family>

<family>AR PL UMing CN</family>

<family>宋体</family>

<family>AR MingtiM GB</family>

<accept><family>DejaVu Sans</family></accept>

<accept><family>WenQuanYi Zen Hei</family></accept>

</alias>


35-ttf-arphic-uming-aliases.conf


<alias binding="same">

<family>AR PL ShanHeiSun Uni</family>

<prefer><family>DejaVu Sans</family></prefer>

<prefer><family>WenQuanYi Zen Hei</family></prefer>

<prefer><family>AR PL UMing HK</family></prefer>

</alias>

<alias binding="same">

<family>AR PL ShanHeiSun Uni MBE</family>

<prefer><family>DejaVu Sans</family></prefer>

<prefer><family>WenQuanYi Zen Hei</family></prefer>

<prefer><family>AR PL UMing TW MBE</family></prefer>

</alias>


69-language-selector-zh-cn.conf

将dejavu和zenhei对应字体提到第一位



posted on 2009-05-04 11:21 daning 阅读(1284) 评论(2)  编辑  收藏 所属分类: ubuntu

评论

# re: 使用文泉驿正黑配置ubuntu9.04字体  回复  更多评论   

能将69-language-selector-zh-cn.conf说详细点吗? 谢谢了
2009-06-12 19:55 | 周统

# re: 使用文泉驿正黑配置ubuntu9.04字体  回复  更多评论   

@周统
<fontconfig>

<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Serif</string>
<string>WenQuanYi Zen Hei</string>
<string>AR PL UMing CN</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</string>
<string>Bitstream Vera 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>DejaVu Sans</string>
<string>WenQuanYi Zen Hei</string>
<string>Bitstream Vera Sans</string>
<string>AR PL UMing CN</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</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>DejaVu Sans Mono</string>
<string>WenQuanYi Zen Hei</string>
<string>Bitstream Vera Sans Mono</string>
<string>AR PL UMing CN</string>
<string>AR PL ShanHeiSun Uni</string>
<string>WenQuanYi Bitmap Song</string>
<string>AR PL UKai CN</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>

</fontconfig>
2009-06-13 00:17 | daning

只有注册用户登录后才能发表评论。


网站导航: