|

楼主 |
发表于 2004-7-11 13:16:31
|
显示全部楼层
凌晨失眠时候想到的方法,蛮有效的
- <match target="font">
- <test name="family" compare="not_eq" qual="all">
- <string>SimSun</string>
- <string>NSimSun</string>
- <string>PMingLiU</string>
- <string>MingLiU</string>
- </test>
- <edit name="antialias" mode="assign">
- <bool>true</bool>
- </edit>
- </match>
- <match target="font">
- <test name="family" compare="eq" qual="any">
- <string>SimSun</string>
- <string>NSimSun</string>
- <string>PMingLiU</string>
- <string>MingLiU</string>
- </test>
- <test name="size" compare="less_eq">
- <double>16</double>
- </test>
- <test name="size" compare="more_eq">
- <double>8</double>
- </test>
- <edit name="antialias" mode="assign">
- <bool>false</bool>
- </edit>
- </match>
复制代码
如果单单加入上面第一段match,simsun和mingliu的点阵就被aa掉了,不知道为什么,所以只能加了第二段match。不过后来还是嫌这样太繁杂,干脆换成:
- <match target="font">
- <test name="family" compare="eq" qual="any">
- <string>Tahoma</string>
- <string>Verdana</string>
- </test>
- <edit name="antialias" mode="assign">
- <bool>true</bool>
- </edit>
- </match>
复制代码
很丑,但是还算看得过去,比毛糙的Tahoma和Verdana好点吧:
 |
|