当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [分享]关于美化的几篇不错的文章
帖子发表于 : 2006-11-19 21:03 

注册: 2006-10-28 8:19
帖子: 71
送出感谢: 0 次
接收感谢: 0 次
Fontconfig配置详解
http://my.opera.com/linuxsir/blog/show.dml/389529

中文字体配置范例
http://wiki.archlinux.org/index.php/%E4 ... 3%E4%BE%8B

Linux 字体微调 - windows 效果版
http://www.linuxsir.org/bbs/showthread. ... e+hintfull

Linux 字体微调 - Vista 效果版
http://www.linuxsir.org/bbs/showthread. ... e+hintfull

Fedora 字体发虚的解决方法,粗体显示及美化注意事项
http://www.linuxsir.org/bbs/showthread.php?t=204651

比较详细,可能有点复杂,但是看完之后肯定对美化有一些新的认识。


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-11-20 15:40 

注册: 2006-03-11 3:35
帖子: 125
送出感谢: 0 次
接收感谢: 0 次
不错,按照里面人介绍试着调整不一下,效果不错。
language-selector.conf:

<fontconfig>

<match target="font">
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="antialias">
<bool>true</bool>
</edit>
</match>

<!--
Synthetic emboldening for fonts that do not have bold face available
-->

<match target="font">
<!-- check to see if the font is just regular -->
<test name="weight" compare="less_eq">
<const>medium</const>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<!--
set the embolden flag
needed for applications using cairo, e.g. gucharmap, gedit, ...
-->
<edit name="embolden" mode="assign">
<bool>true</bool>
</edit>
<!--
set weight to bold
needed for applications using Xft directly, e.g. Firefox, ...
-->
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>


<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>zh</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>


<match target="pattern">
<test name="family">
<string>SimSun</string>
<string>SimSun-18030</string>
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL New Sung</string>
<string>MingLiU</string>
<string>PMingLiU</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Tahoma</string>
<string>Arial</string>
<string>Verdana</string>
<string>DejaVu Sans</string>
<string>Bitstream Vera Sans</string>
</edit>
</match>

<match target="font">
<test name="family" qual="any">
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL New Sung</string>
<string>SimSun</string>
<string>NSimSun</string>
<string>MingLiu</string>
<string>PMingLiu</string>
</test>
<test name="pixelsize" compare="less_eq">
<double>12</double>
</test>
<edit name="pixelsize" mode="assign">
<double>12</double>
</edit>
</match>

<match target="font" >
<test compare="eq" name="family" qual="any" >
<string>宋体</string>
<string>新宋体</string>
<string>SimSun</string>
<string>NSimSun</string>
<string>宋体-18030</string>
<string>新宋体-18030</string>
<string>SimSun-18030</string>
<string>NSimSun-18030</string>
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL New Sung</string>
<string>MingLiU</string>
<string>PMingLiU</string>
</test>
<test compare="less_eq" name="pixelsize" >
<double>16</double>
</test>
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
<edit name="antialias">
<bool>false</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>



<match target="font">
<test name="family">
<string>Andale Mono</string>
<string>Arial</string>
<string>Comic Sans MS</string>
<string>Georgia</string>
<string>Impact</string>
<string>Trebuchet MS</string>
<string>Verdana</string>
<string>Courier New</string>
<string>Times New Roman</string>
<string>Tahoma</string>
<string>Webdings</string>
<string>Albany AMT</string>
<string>Thorndale AMT</string>
<string>Cumberland AMT</string>
<string>Andale Sans</string>
<string>Andy MT</string>
<string>Bell MT</string>
<string>Monotype Sorts</string>
</test>
<test name="pixelsize" compare="less_eq">
<double>16</double>
</test>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="antialias">
<bool>false</bool>
</edit>
</match>

<alias>
<family>serif</family>
<prefer>
<family>Times New Roman</family>
<family>Thorndale AMT</family>
<family>Nimbus Roman No9 L</family>
<family>DejaVu Serif</family>
<family>Bitstream Vera Serif</family>
<family>Luxi Serif</family>
<family>Likhan</family>
<family>FreeSerif</family>
<family>Times</family>
<family>SimSun</family>
<family>SimSun-18030</family>
<family>MingLiU</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ShanHeiSun Uni</family>
<family>AR PL New Sung</family>
<family>FZSongTi</family>
<family>FZMingTiB</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Kochi Mincho</family>
<family>UnBatang</family>
<family>Baekmuk Batang</family>
<family>HanyiSong</family>
<family>ZYSong18030</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Arial</family>
<family>Albany AMT</family>
<family>Nimbus Sans L</family>
<family>Verdana</family>
<family>DejaVu Sans</family>
<family>Bitstream Vera Sans</family>
<family>Luxi Sans</family>
<family>FreeSans</family>
<family>Helvetica</family>
<family>SimSun</family>
<family>SimSun-18030</family>
<family>MingLiU</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ShanHeiSun Uni</family>
<family>AR PL New Sung</family>
<family>FZSongTi</family>
<family>FZMingTiB</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Kochi Gothic</family>
<family>UnDotum</family>
<family>Baekmuk Gulim</family>
<family>Baekmuk Dotum</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Courier New</family>
<family>Cumberland AMT</family>
<family>Nimbus Mono L</family>
<family>Andale Mono</family>
<family>DejaVu Sans Mono</family>
<family>Bitstream Vera Sans Mono</family>
<family>Luxi Mono</family>
<family>FreeMono</family>
<family>NSimSun</family>
<family>NSimSun-18030</family>
<family>PMingLiU</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL ShanHeiSun Uni</family>
<family>AR PL New Sung</family>
<family>FZSongTi</family>
<family>FZMingTiB</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Kochi Gothic</family>
<family>UnDotum</family>
<family>Baekmuk Gulim</family>
<family>Baekmuk Dotum</family>
<family>HanyiSong</family>
<family>ZYSong18030</family>
</prefer>
</alias>

</fontconfig>


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译