想要楼主的文字显示风格需要只让应为显示为 AA 中文不 AA 才行。
楼主的英文如果不用 AA 的话,会很难看的。 如何把那个模糊感消除呢? :?: 改得过火了………
想要楼主的文字显示风格需要只让应为显示为 AA 中文不 AA 才行。
楼主的英文如果不用 AA 的话,会很难看的。
请详细一点 :oops: 这就不太清楚了,你看看 KDE 控制中心的文字设置吧~~~
看看那个 AA 打开了行不行。 dgsian:
你在local.conf里加这几行:
效果应该会好些的。。
效果没什么改善~~~ :oops: 你先备份一下你的local.conf,用这里替换一下。。
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<dir>/usr/share/fonts</dir>
<dir>/usr/share/fonts/ttf/zh_CN</dir>
<dir>/usr/share/fonts/zh_CN</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/local/share/fonts</dir>
<!--
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>
-->
<!--
Add by Firefly([email protected])
-->
<match target="font" >
<edit name="embeddedbitmap" mod="assign" >
<bool>true</bool>
</edit>
</match>
<!--
Add by Firefly([email protected])
Most of Asian fonts can't explain by freetype2,
so,if these fonts have dual width(half/full) and monospacing,
you need to disable globaladvance.
-->
<match target="font" >
<test compare="more_eq" name="spacing" >
<const>dual</const>
</test>
<edit mode="assign" name="globaladvance" >
<bool>false</bool>
</edit>
</match>
<!--
Add by [email protected]
Artificial bold for fonts without a bold version.
-->
<match target="font" >
<!-- check to see if the pattern requested > "medium" -->
<test compare="more" target="pattern" name="weight" >
<const>medium</const>
</test>
<!-- pretend the font is bold now -->
<edit mode="assign" name="weight" >
<const>bold</const>
</edit>
</match>
<match target="pattern" >
<test compare="eq" name="family" qual="any" >
<string>NSimSun</string>
</test>
<edit mode="prepend_first" binding="strong" name="family" >
<string>Bitstream Vera Sans</string>
</edit>
</match>
<!--
donn't _enable_ following lines if you _donnot_ know what your are doing.
-->
<!--
<match target="pattern" >
<test compare="eq" name="family" qual="any" >
<string>SimSun</string>
</test>
<edit mode="prepend_first" binding="strong" name="family" >
<string>Tahoma</string>
</edit>
</match>
-->
<!--
<match target="pattern" >
<test compare="eq" name="family" qual="any" >
<string>Courier New</string>
</test>
<edit mode="prepend_first" binding="strong" name="family" >
<string>Bitstream Vera Sans</string>
</edit>
</match>
-->
<match target="pattern" >
<test compare="eq" name="family" qual="any" >
<string>AR PL Kaitim GB</string>
</test>
<edit mode="prepend_first" binding="strong" name="family" >
<string>Bitstream Vera Sans</string>
</edit>
</match>
<!--
default settings for all fonts.
-->
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintsmedium</const>
</edit>
<edit mode="assign" name="hint" >
<bool>false</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
</match>
<!--
bingding Bitstream Vera Sans Mono to monospace
-->
<match target="pattern" >
<test name="family" qual="any" >
<string>monospace</string>
</test>
<edit mode="append" binding="strong" name="family" >
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<!--
enable autohints for non-cjk fonts.
-->
<match target="font" >
<test name="family" qual="any" >
<string>Bitstream Vera Sans Mono</string>
<string>Bitstream Vera Sans</string>
<string>Bitstream Vera Serif</string>
<string>monospace</string>
<string>Basemic Times</string>
<string>Bitstream Charter</string>
<string>Courier New</string>
<string>Lucida</string>
<string>Lucida Bright</string>
<string>Lucida Calligraphy</string>
<string>Lucida Console</string>
<string>Lucida Handwriting</string>
<string>Lucida Sans</string>
<string>Luxi Mono</string>
<string>Luxi Sans</string>
<string>Luxi Serif</string>
<string>Times</string>
<string>Arial</string>
</test>
<edit mode="assign" name="hint" >
<bool>false</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test compare="contains" target="pattern" name="lang" >
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
<test compare="eq" name="spacing" >
<const>mono</const>
</test>
<edit mode="assign" name="globaladvance" >
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" qual="any" >
<string>SimHei</string>
<string>FZHeiTi</string>
</test>
<edit mode="assign" name="globaladvance" >
<bool>false</bool>
</edit>
</match>
<!--
Add by [email protected]
-->
<match target="font" >
<test compare="contains" name="lang" >
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
<edit mode="assign" name="hint" >
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>false</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
<edit mode="assign" name="usegamma" >
<if>
<less>
<name>pixelsize</name>
<double>20</double>
</less>
</if>
<bool>false</bool>
</edit>
</match>
<!--
don't use antialiasing if font size is between 6 and 18.
if you prefer AA fonts, you can simply comment out the following lines.
-->
<match target="font" >
<!--
<test compare="contains" name="lang" >
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
-->
<test compare="more_eq" name="size" qual="any" >
<double>6</double>
</test>
<test compare="less_eq" name="size" qual="any" >
<double>18</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<!--
make some chinse font size not too small, if not they will look ugly.:(
-->
<match target="font" >
<test name="family" qual="any" >
<string>SimSun</string>
<string>NSimSun</string>
<string>LiSu</string>
<string>SimHei</string>
<string>FangSong_GB2312</string>
<string>KaiTi_GB2312</string>
<string>SimHei</string>
</test>
<test compare="more_eq" name="pixelsize" >
<int>9</int>
</test>
<test compare="less_eq" name="pixelsize" >
<int>12</int>
</test>
<edit compare="eq" name="pixelsize" >
<int>12</int>
</edit>
</match>
<config>
<other_family>
<bool>true</bool>
</other_family>
</config>
</fontconfig>
要用AA的话改一下这里:
<!--
don't use antialiasing if font size is between 6 and 18.
if you prefer AA fonts, you can simply comment out the following lines.
-->
<match target="font" >
<!--
<test compare="contains" name="lang" >
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
-->
<test compare="more_eq" name="size" qual="any" >
<double>6</double>
</test>
<test compare="less_eq" name="size" qual="any" >
<double>18</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
如果你中英文都要使用AA的话,就把这一块改成这样:
<!--
don't use antialiasing if font size is between 6 and 18.
if you prefer AA fonts, you can simply comment out the following lines.
-->
<!--
<match target="font" >
<!--
<test compare="contains" name="lang" >
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
-->
<test compare="more_eq" name="size" qual="any" >
<double>6</double>
</test>
<test compare="less_eq" name="size" qual="any" >
<double>18</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
-->
只英文使用AA的话,就改成这样
<!--
don't use antialiasing if font size is between 6 and 18.
if you prefer AA fonts, you can simply comment out the following lines.
-->
<match target="font" >
<test compare="contains" name="lang" >
<string>zh-cn</string>
<string>zh-tw</string>
<string>ja</string>
<string>ko</string>
</test>
<test compare="more_eq" name="size" qual="any" >
<double>6</double>
</test>
<test compare="less_eq" name="size" qual="any" >
<double>18</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match> ML中是/etc/fonts/fonts.conf。谢谢sunmoon1997的详细解答 唉,越改越乱了~~~还是算了 :-(
如何打开:?:
修改/etc/fonts/fonts.conf,找到所有如下语句:
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
将false改成true就打开AA了。
不行不行,改了之后,全部字体都变得异常的模糊~~~更难看了 :oops:
AA就是圆滑字体的,将字体调大,改成粗体试试
我觉的已经够完美了
看图AA就是圆滑字体的,将字体调大,改成粗体试试
将字体调大固然可以,但这又必然影响浏览~~本来一屏就可显示完的东西,现在要翻几翻才能看完 :-(
这样就尤如有削足适履的感觉 :roll: 不开AA也能显示的很好 不开AA也能显示的很好
看来只能知足常乐了~~~ 8) rf4.1rc1的汉字显示也挺棒。