一段使linux中中文字体美化的有用代码
2008-04-14 16:36
316 查看
把下面的代码添加到/etc/fonts/fonts.conf中相应的地方。即可实现对slackware的中文字体Vera Sans YuanTi字体的美化,使其显示细腻圆滑的中文字体
<match target="font">
<test name="family"><string>Vera Sans YuanTi</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>Vera Sans YuanTi Mono</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<edit name="antialias"><bool>true</bool></edit>
<edit name="hinting"><bool>false</bool></edit>
<edit name="autohint"><bool>false</bool></edit>
</match>
<match target="font">
<test name="pixelsize" compare="more_eq"><double>12</double></test>
<test name="pixelsize" compare="less_eq"><double>16</double></test>
<edit name="antialias"><bool>false</bool></edit>
<edit name="hinting"><bool>true</bool></edit>
<edit name="autohint"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>Vera Sans YuanTi</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<test name="family"><string>Vera Sans YuanTi Mono</string></test>
<edit name="globaladvance"><bool>false</bool></edit>
</match>
<match target="font">
<edit name="antialias"><bool>true</bool></edit>
<edit name="hinting"><bool>false</bool></edit>
<edit name="autohint"><bool>false</bool></edit>
</match>
<match target="font">
<test name="pixelsize" compare="more_eq"><double>12</double></test>
<test name="pixelsize" compare="less_eq"><double>16</double></test>
<edit name="antialias"><bool>false</bool></edit>
<edit name="hinting"><bool>true</bool></edit>
<edit name="autohint"><bool>false</bool></edit>
</match>
相关文章推荐
- Red Hat Linux 9 中文字体美化
- 美化Visual Studio代码编辑器的字体,使中文和英文使用不同的字体
- FreeBSD/Linux的中文字体美化
- FreeBSD/Linux的中文字体美化
- FreeBSD/Linux的中文字体美化
- FreeBSD/Linux的中文字体美化
- 【linux】RHEL 5.5 安装中文字体
- 分享一段自己写的Linux 驱动调试寄存器的代码
- ACTIVITI在LINUX下查看流程图片中文字体出现乱码的解决方案
- 自己觉得比较有用的WindowsPhone7 Http异步请求的一段简单代码
- 如何使用xp带的字体来进行中文美化
- Ubuntu中文字体美化方案大全(2): 安装字体文件
- Linux/centos 5.x 中文字体解决方案
- [Linux] GNOME 界面字体美化方案
- linux安装中文字体
- 关于在Linux rhel4.0下安装中文字体
- 一段有用的jquery代码
- linux 下应用putty软件修改中文字体
- Linux第一天接触, 安装CentOS后解决中文字体的问题
- linux 下添加windons的中文字体