[过时请教]AA字体边缘都泛红的感觉(也可能是重影,说不清)
以前貌似哪里看到过这个讨论,但是当时没有这个困扰,所以并未在意。现在遇到了问题,对于怎么解决,毫无头绪,遂问之。
系统是:
arch linux 0.7.2
xorg 11R7.0-1
fontconfig 2.3.2-6
freetype2 2.2.1-2
libxft 2.1.8.2-1
fonts.conf没有改过,所有自定义内容全部放在local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
Use the Auto-Hinter
<match target="pattern">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
<!--
Disable anti-aliasing for fonts that are size <=12
<match target="pattern">
<test qual="any" name="size" compare="less_eq">
<int>12</int>
</test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>
-->
<!--
Enable sub-pixel rendering
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
-->
<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>
<alias>
<family>serif</family>
<prefer>
<family>Times New Roman</family>
<family>Bitstream Vera Serif</family>
<family>Thorndale AMT</family>
<family>Luxi Serif</family>
<family>Nimbus Roman No9 L</family>
<family>Times</family>
<family>Frank Ruehl</family>
<family>SimSun</family>
<family>Kochi Mincho</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>MS 明朝</family>
<family>Baekmuk Batang</family>
<family>FreeSerif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Tahoma</family>
<family>Bitstream Vera Sans</family>
<family>Verdana</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Luxi Sans</family>
<family>Nimbus Sans L</family>
<family>Helvetica</family>
<family>Nachlieli</family>
<family>SimSun</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>MS ゴシック</family>
<family>Baekmuk Dotum</family>
<family>FreeSans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Courier New</family>
<family>Bitstream Vera Sans Mono</family>
<family>Andale Mono</family>
<family>Cumberland AMT</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Courier</family>
<family>Miriam Mono</family>
<family>NSimSun</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>Baekmuk Dotum</family>
<family>FreeMono</family>
</prefer>
</alias>
<match target="font">
<edit name="hinting">
<bool>true</bool>
</edit>
<edit name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="size" compare="more">
<double>12</double>
</test>
<edit name="antialias" mode="assign">
<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">
<int>100</int>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" name="weight" compare="more_eq">
<int>180</int>
</test>
<!-- set the embolden flag -->
<edit name="embolden" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
另外一点就是,我在local.conf指定很明白:先关掉AA,当字体大于12pt时打开AA。但是现在没有斜体字库的字体模拟出来的小于13pt的斜体却是AA的。
而所有这些问题在我FreeBSD下的xorg6.9.0中没有出现。
http://www.linuxfans.org/nuke/modules/Forums/files/why_675.png 见过有人说发绿,没见过说发红的 能解决么? :shock: 忘记了,不过看图好像和你的状况不一样 这老实说,这个效果在LCD上看效果还好,LCD上看,太虚幻了,antialias本身确实虚幻,但不应该这么虚幻。 没有看出有什么不同 :oops: 红么?
我怎么看不出来?? 你们看,3n看出来了,说明我没胡说。 这老实说,这个效果在LCD上看效果还好,LCD上看,太虚幻了,antialias本身确实虚幻,但不应该这么虚幻。
CTR 上看不出,没钱买LCD阿 :( 这老实说,这个效果在LCD上看效果还好,LCD上看,太虚幻了,antialias本身确实虚幻,但不应该这么虚幻。
CTR 上看不出,没钱买LCD阿 :(
俺也是没lcd
PS:俺还是近视,只看到虚,没看到红 :oops: 俺的本本也没看出红来 你们很计较红吗? :evil:
那只是我的感觉,我都说了。何必吹毛求疵,舍本逐末? 没红……就是虚……
页:
[1]