LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 759|回复: 3

小字关闭AA在GTK程序里面跟Mozilla-firefox表现不一?

[复制链接]
发表于 2004-9-28 17:04:47 | 显示全部楼层 |阅读模式
见图:
GTK2的程序里面没问题,其实在KDE里面也没问题,唯独在Mozilla-Firefox里面还是AA的说。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-9-28 19:02:10 | 显示全部楼层
Becasue they are in different size.
Please tell us how did you do "小字关闭AA". Different methods will give you different results.
 楼主| 发表于 2004-9-29 12:25:53 | 显示全部楼层

use ~/.fonts.conf


  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <!-- for simsun.ttc --> <match target="font" >
  5.   <test name="family" >
  6.    <string>SimSun</string>
  7.   </test>
  8.   <edit name="antialias" >
  9.    <bool>true</bool>
  10.   </edit>
  11.   <edit name="hinting" >
  12.    <bool>true</bool>
  13.   </edit>
  14.   <edit name="autohint" >
  15.    <bool>false</bool>
  16.   </edit>
  17. </match>
  18. <match target="font" >
  19.   <test name="family" >
  20.    <string>NSimSun</string>
  21.   </test>
  22.   <edit name="antialias" >
  23.    <bool>true</bool>
  24.   </edit>
  25.   <edit name="hinting" >
  26.    <bool>true</bool>
  27.   </edit>
  28.   <edit name="autohint" >
  29.    <bool>false</bool>
  30.   </edit>
  31. </match>
  32. [i]
  33. <match target="font" >
  34.   <test name="family" >
  35.    <string>SimSun</string>
  36.   </test>
  37.   <test compare="less_eq" name="size" >
  38.    <int>16</int>
  39.   </test>
  40.   <edit mode="assign" name="antialias" >
  41.    <bool>false</bool>
  42.   </edit>
  43.   <edit mode="assign" name="hinting" >
  44.    <bool>true</bool>
  45.   </edit>
  46. </match>
  47. <match target="font" >
  48.   <test name="family" >
  49.    <string>NSimSun</string>
  50.   </test>
  51.   <test compare="less_eq" name="size" >
  52.    <int>16</int>
  53.   </test>
  54.   <edit mode="assign" name="antialias" >
  55.    <bool>false</bool>
  56.   </edit>
  57. [\I]
  58.   <edit mode="assign" name="hinting" >
  59.    <bool>true</bool>
  60.   </edit>
  61. </match>
  62. <match target="font" >
  63.   <test name="family" >
  64.    <string>NSimSun</string>
  65.   </test>
  66.   <edit name="globaladvance" >
  67.    <bool>false</bool>
  68.   </edit>
  69. </match>
  70. <match target="font" >
  71.   <edit mode="assign" name="hinting" >
  72.    <bool>true</bool>
  73.   </edit>
  74. </match>
  75. <match target="font" >
  76.   <edit mode="assign" name="hintstyle" >
  77.    <const>hintmedium</const>
  78.   </edit>
  79. </match>
  80. </fontconfig>
复制代码
发表于 2005-10-17 22:39:24 | 显示全部楼层
顶一下..
我的firefox和mozilla也是这样..
而且还很诡异..我是xfce桌面.. 在xfce的设置选项里把AA关了之后在开firefox是正常的,关了X再起动firefox又变回去了 - -#
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表