LinuxSir.cn,穿越时空的Linuxsir!

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

如何让字体更清晰不发虚呀

[复制链接]
发表于 2008-7-31 22:25:07 | 显示全部楼层 |阅读模式
如题:yun::yun::yun:
发表于 2008-7-31 22:30:42 | 显示全部楼层
把antialias关闭?
回复 支持 反对

使用道具 举报

发表于 2008-7-31 22:36:14 | 显示全部楼层
开subpixel
关闭中文字体特定字号的antialias
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-31 23:02:27 | 显示全部楼层
Post by tingxx;1880978
把antialias关闭?


在哪关?:flash:
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-31 23:05:43 | 显示全部楼层
Post by struq;1880979
开subpixel
关闭中文字体特定字号的antialias


给个效果图看看:thank
回复 支持 反对

使用道具 举报

发表于 2008-8-1 09:22:20 | 显示全部楼层
装个文泉驿正黑,一切搞定
回复 支持 反对

使用道具 举报

发表于 2008-8-1 10:04:24 | 显示全部楼层
文泉正黑和文泉点阵都很好
回复 支持 反对

使用道具 举报

发表于 2008-8-1 10:12:52 | 显示全部楼层
Post by huain;1880988
给个效果图看看:thank

效果图就不贴了,因为我自己用的是文泉驿矢量正黑,可能就是你所说的发虚。
如果你要清晰的点阵字体,直接装文泉驿点阵宋体就可以了
如果用其他宋体,把下面这段存为/etc/fonts/conf.d/57-bitmap.conf

  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <match target="font">
  5.       <test name="family" compare="contains">
  6.       <string>WenQuanYi Zen Hei</string>
  7.       <string>AR PL ShanHeiSun Uni</string>
  8.       <string>AR PL New Sung</string>
  9.       <string>FZSongTi</string>
  10.       <string>SimSun</string>
  11.       <string>CMEXSong</string>
  12.       </test>
  13.       <test name="pixelsize" compare="more_eq">
  14.               <double>11.5</double>
  15.       </test>
  16.       <test name="pixelsize" compare="less_eq">
  17.               <double>16</double>
  18.       </test>
  19.       <test name="slant">
  20.           <const>roman</const>
  21.       </test>
  22.       <edit name="antialias" mode="assign">
  23.               <bool>false</bool>
  24.       </edit>
  25. </match>
  26. </fontconfig>
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-8-1 15:27:20 | 显示全部楼层
根本不用关antialias,直接装libxft-lcd即可,下面是效果图

回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-8-2 17:04:28 | 显示全部楼层
ls的效果真不错
回复 支持 反对

使用道具 举报

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

本版积分规则

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