LinuxSir.cn,穿越时空的Linuxsir!

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

字体同样是Courier 12,为何在xchat里没有问题,在gvim里中文文字间隔就太宽了呢?

[复制链接]
发表于 2006-4-23 13:19:17 | 显示全部楼层 |阅读模式
见附图,
字体同样是Courier 12,为何在xchat里没有问题,在gvim里中文文字间隔就太宽了呢?
需要怎么设置才对呢?

环境:xorg-x11-6.8.2-r6 freetype-2.1.9-r1

我的local.conf设置为:

  1. <!-- Use the TureType Byte Code Interpreter, turn the auto hinter off -->
  2.         <match target="font">
  3.                 <edit name="autohint" mode="assign">
  4.                         <bool>false</bool>
  5.                 </edit>
  6.                 <edit name="hinting" mode="assign">
  7.                         <bool>true</bool>
  8.                 </edit>
  9.                 <edit name="hintstyle" mode="assign">
  10.                         <const>hintmedium</const>
  11.                 </edit>
  12.         </match>

  13. <!-- Disable Anti Aliasing for a range on pixel-based size -->
  14.         <match target="font">
  15.                 <test compare="less" name="pixelsize" qual="any">
  16.                         <int>20</int>
  17.                 </test>
  18.                 <edit mode="assign" name="antialias">
  19.                         <bool>false</bool>
  20.                 </edit>
  21.         </match>

  22. <!-- SimSun misadvertise themselves as monospaced -->
  23.         <match target="font">
  24.                 <test name="family"><string>SimSun</string></test>
  25.                 <edit name="globaladvance"><bool>false</bool></edit>
  26.                 <edit name="spacing"><const>proportional</const></edit>
  27.         </match>

  28. <!-- Use SimHei as bold.
  29. -->
  30.         <match target="pattern">
  31.                 <test name="family">
  32.                         <string>SimSun</string>
  33.                 </test>
  34.                 <test name="weight" compare="more_eq">
  35.                         <const>bold</const>
  36.                 </test>
  37.                 <edit name="family" mode="assign">
  38.                         <string>SimHei</string>
  39.                 </edit>
  40.         </match>
复制代码

本帖子中包含更多资源

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

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

本版积分规则

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