能不能帮我看一下我的language-selector.conf

系统字体配置、中文显示和输入法问题
回复
kcsn
帖子: 30
注册时间: 2006-09-01 21:41
送出感谢: 0
接收感谢: 0

能不能帮我看一下我的language-selector.conf

#1

帖子 kcsn » 2007-08-22 22:47

我主要参考了http://forum.ubuntu.org.cn/about19325.html的文章
把字体换成了英文用:Lucida Grande,中文:Microsoft YaHei
现在英文貌似正常了,但是中文仍然惨不忍睹,比没配过时更加惨不忍睹
<fontconfig>

<alias>

<family>serif</family>

<prefer>

<family>Lucida Grande</family>
<family>Microsoft YaHei</family>
<family>WenQuanYi Bitmap Song</family>

</prefer>

</alias>

<alias>

<family>sans-serif</family>

<prefer>

<family>Lucida Grande</family>
<family>Microsoft YaHei</family>
<family>WenQuanYi Bitmap Song</family>
</prefer>

</alias>


<alias>

<family>monospace</family>

<prefer>

<family>Lucida Grande</family>
<family>Microsoft YaHei</family>
<family>WenQuanYi Bitmap Song</family>
</prefer>

</alias>


<match target="font" >

<test name="family" compare="contains" >
<string>YaHei</string>

</test>
<test name="weight" compare="less_eq">
<int>100</int>
</test>

<test compare="more_eq" target="pattern" name="weight" >

<int>180</int>

</test>

<edit mode="assign" name="embolden" >

<bool>true</bool>

</edit>

</match>

<match target="font" >
<test compare="more" name="pixelsize" qual="any" >
<double>12</double>
</test>
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
</match>

<match target="font" >
<test name="family" compare="eq">
<string>Microsoft YaHei</string>
</test>

<edit name="globaladvance" >
<bool>false</bool>
</edit>
<edit name="spacing" >
<int>0</int>:
</edit>
<edit name="hinting" >
<bool>true</bool>
</edit>
<edit name="autohint" >
<bool>true</bool>
</edit>
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
<test compare="more_eq" name="pixelsize" >
<int>12</int>
</test>
<test compare="less_eq" name="pixelsize" >
<int>18</int>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>

</fontconfig>
附件
Screenshot.png
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北
送出感谢: 0
接收感谢: 1 次

#2

帖子 rhfcaesar » 2007-08-22 22:55

把hinting和autohint设为false试试。
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#3

帖子 zhuqin_83 » 2007-08-22 23:04

hinting应该为slight
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
kcsn
帖子: 30
注册时间: 2006-09-01 21:41
送出感谢: 0
接收感谢: 0

#4

帖子 kcsn » 2007-08-22 23:04

至少他得用上雅黑吧,不考虑hint的设置
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#5

帖子 zhuqin_83 » 2007-08-22 23:17

你都把aa关了
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
回复

回到 “字体美化和中文支持”