LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]字体发虚

[复制链接]
发表于 2006-10-28 16:42:53 | 显示全部楼层 |阅读模式
一直以来都有这个问题,一些网页没问题,少数会发虚,今天忍不住了。见下面两张图片,由于附件限制,只截一部分,一张是新华网的(发虚),另一张是我们论坛的(OK)。
我用的字体是wqy-bitmapfont,下面是我的fonts.conf


  1. # cat /etc/fonts/fonts.conf
  2. <?xml version="1.0"?>
  3. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  4. <!-- /etc/fonts/fonts.conf file to configure system font access -->
  5. <fontconfig>

  6. <!--
  7.         DO NOT EDIT THIS FILE.
  8.         IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
  9.         LOCAL CHANGES BELONG IN 'local.conf'.

  10.         The intent of this standard configuration file is to be adequate for
  11.         most environments.  If you have a reasonably normal environment and
  12.         have found problems with this configuration, they are probably
  13.         things that others will also want fixed.  Please submit any
  14.         problems to the fontconfig bugzilla system located at fontconfig.org

  15.         Note that the normal 'make install' procedure for fontconfig is to
  16.         replace any existing fonts.conf file with the new version.  Place
  17.         any local customizations in local.conf which this file references.

  18.         Keith Packard
  19. -->

  20. <!-- Font directory list -->

  21.         <dir>/usr/share/fonts</dir>
  22.         <dir>/usr/local/share/fonts</dir> <dir>/usr/X11R6/lib/X11/fonts</dir>
  23.         <dir>~/.fonts</dir>

  24. <!--
  25.   Accept deprecated 'mono' alias, replacing it with 'monospace'
  26. -->
  27.         <match target="pattern">
  28.                 <test qual="any" name="family">
  29.                         <string>mono</string>
  30.                 </test>
  31.                 <edit name="family" mode="assign">
  32.                         <string>monospace</string>
  33.                 </edit>
  34.         </match>

  35. <!--
  36.   Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
  37. -->
  38.         <match target="pattern">
  39.                 <test qual="any" name="family">
  40.                         <string>sans serif</string>
  41.                 </test>
  42.                 <edit name="family" mode="assign">
  43.                         <string>sans-serif</string>
  44.                 </edit>
  45.         </match>

  46. <!--
  47.   Accept deprecated 'sans' alias, replacing it with 'sans-serif'
  48. -->
  49.         <match target="pattern">
  50.                 <test qual="any" name="family">
  51.                         <string>sans</string>
  52.                 </test>
  53.                 <edit name="family" mode="assign">
  54.                         <string>sans-serif</string>
  55.                 </edit>
  56.         </match>

  57. <!--
  58.   Mark common families with their generics so we'll get
  59.   something reasonable
  60. -->

  61. <!--
  62.   Serif faces
  63. -->
  64.         <alias>
  65.                 <family>Bitstream Vera Serif</family>
  66.                 <family>Times New Roman</family>
  67.                 <family>Thorndale AMT</family>
  68.                 <family>Times</family>
  69.                 <family>Nimbus Roman No9 L</family>
  70.                 <family>Luxi Serif</family>
  71.                 <family>Kochi Mincho</family>
  72.                 <family>AR PL SungtiL GB</family>
  73.                 <family>AR PL Mingti2L Big5</family>
  74.                 <family>MS 明朝</family>
  75.                 <family>Baekmuk Batang</family>
  76.                 <family>FreeSerif</family>
  77.                 <default><family>serif</family></default>
  78.         </alias>
  79. <!--
  80.   Sans-serif faces
  81. -->
  82.         <alias>
  83.                 <family>Bitstream Vera Sans</family>
  84.                 <family>Helvetica</family>
  85.                 <family>Arial</family>
  86.                 <family>Verdana</family>
  87.                 <family>Albany AMT</family>
  88.                 <family>Nimbus Sans L</family>
  89.                 <family>Luxi Sans</family>
  90.                 <family>Kochi Gothic</family>
  91.                 <family>AR PL KaitiM GB</family>
  92.                 <family>AR PL KaitiM Big5</family>
  93.                 <family>MS ゴシック</family>
  94.                 <family>Baekmuk Dotum</family>
  95.                 <family>SimSun</family>
  96.                 <family>FreeSans</family>
  97.                 <default><family>sans-serif</family></default>
  98.         </alias>
  99. <!--
  100.   Monospace faces
  101. -->
  102.         <alias>
  103.                 <family>Bitstream Vera Sans Mono</family>
  104.                 <family>Courier</family>
  105.                 <family>Courier New</family>
  106.                 <family>Andale Mono</family>
  107.                 <family>Luxi Mono</family>
  108.                 <family>Cumberland AMT</family>
  109.                 <family>Nimbus Mono L</family>
  110.                 <family>NSimSun</family>
  111.                 <family>FreeMono</family>
  112.                 <default><family>monospace</family></default>
  113.         </alias>
  114. <!--
  115.   If the font still has no generic name, add sans-serif
  116. -->
  117.         <match target="pattern">
  118.                 <test qual="all" name="family" compare="not_eq">
  119.                         <string>sans-serif</string>
  120.                 </test>
  121.                 <test qual="all" name="family" compare="not_eq">
  122.                         <string>serif</string>
  123.                 </test>
  124.                 <test qual="all" name="family" compare="not_eq">
  125.                         <string>monospace</string>
  126.                 </test>
  127.                 <edit name="family" mode="append_last">
  128.                         <string>sans-serif</string>
  129.                 </edit>
  130.         </match>

  131. <!--
  132.   URW provides metric and shape compatible fonts for these 3 Adobe families.
  133.   -->
  134.         <alias>
  135.           <family>Times</family>
  136.           <accept><family>Nimbus Roman No9 L</family></accept>
  137.         </alias>
  138.         <alias>
  139.           <family>Helvetica</family>
  140.           <accept><family>Nimbus Sans L</family></accept>
  141.         </alias>
  142.         <alias>
  143.           <family>Courier</family>
  144.           <accept><family>Nimbus Mono L</family></accept>
  145.         </alias>

  146. <!--
  147. AMT provides metric and shape compatible fonts for these three web font
  148. families.
  149. -->
  150.         <alias>
  151.                 <family>Times New Roman</family>
  152.                 <accept><family>Thorndale AMT</family></accept>
  153.         </alias>
  154.         <alias>
  155.                 <family>Arial</family>
  156.                 <accept><family>Albany AMT</family></accept>
  157.         </alias>
  158.         <alias>
  159.                 <family>Courier New</family>
  160.                 <accept><family>Cumberland AMT</family></accept>
  161.         </alias>

  162. <!--
  163.   Some Asian fonts misadvertise themselves as monospaced when
  164.   in fact they are dual-spaced (half and full).  This makes
  165.   FreeType very confused as it forces all widths to match.
  166.   Undo this magic by disabling the width forcing code -->
  167.         <match target="font">
  168.                 <test name="family"><string>GulimChe</string></test>
  169.                 <edit name="globaladvance"><bool>false</bool></edit>
  170.         </match>

  171.         <match target="font">
  172.                 <test name="family"><string>DotumChe</string></test>
  173.                 <edit name="globaladvance"><bool>false</bool></edit>
  174.         </match>

  175.         <match target="font">
  176.                 <test name="family"><string>BatangChe</string></test>
  177.                 <edit name="globaladvance"><bool>false</bool></edit>
  178.         </match>

  179.         <match target="font">
  180.                 <test name="family"><string>GungsuhChe</string></test>
  181.                 <edit name="globaladvance"><bool>false</bool></edit>
  182.         </match>

  183. <!--
  184.         The Bitstream Vera fonts have GASP entries suggesting that hinting be
  185.         disabled below 8 ppem, but FreeType ignores those, preferring to use
  186.         the data found in the instructed hints.  The initial Vera release
  187.         didn't include the right instructions in the 'prep' table. Fix this
  188.         by disabling hinting manually at smaller sizes (< 8ppem)
  189. -->

  190.         <match target="font">
  191.                 <test name="family">
  192.                         <string>Bitstream Vera Sans</string>
  193.                 </test>
  194.                 <test name="pixelsize" compare="less">
  195.                         <double>7.5</double>
  196.                 </test>
  197.                 <edit name="hinting">
  198.                         <bool>false</bool>
  199.                 </edit>
  200.         </match>

  201.         <match target="font">
  202.                 <test name="family">
  203.                         <string>Bitstream Vera Serif</string>
  204.                 </test>
  205.                 <test name="pixelsize" compare="less">
  206.                         <double>7.5</double>
  207.                 </test>
  208.                 <edit name="hinting">
  209.                         <bool>false</bool>
  210.                 </edit>
  211.         </match>

  212.         <match target="font">
  213.                 <test name="family">
  214.                         <string>Bitstream Vera Sans Mono</string>
  215.                 </test>
  216.                 <test name="pixelsize" compare="less">
  217.                         <double>7.5</double>
  218.                 </test>
  219.                 <edit name="hinting">
  220.                         <bool>false</bool>
  221.                 </edit>
  222.         </match>

  223. <!--
  224.   Load per-user customization file
  225. -->
  226.         <include ignore_missing="yes">~/.fonts.conf</include>

  227. <!--
  228.   Load local system customization file
  229. -->
  230.         <include ignore_missing="yes">conf.d</include>
  231.         <include ignore_missing="yes">local.conf</include>

  232. <!--
  233.   Provide required aliases for standard names
  234. -->
  235.         <alias>
  236.                 <family>serif</family>
  237.                 <prefer>
  238.                         <family>Bitstream Vera Serif</family>
  239.                         <family>Times New Roman</family>
  240.                         <family>Thorndale AMT</family>
  241.                         <family>Luxi Serif</family>
  242.                         <family>Nimbus Roman No9 L</family>
  243.                         <family>Times</family>
  244.                         <family>Frank Ruehl</family>
  245.                         <family>Kochi Mincho</family>
  246.                         <family>AR PL SungtiL GB</family>
  247.                         <family>AR PL Mingti2L Big5</family>
  248.                         <family>MS 明朝</family>
  249.                         <family>Baekmuk Batang</family>
  250.                         <family>FreeSerif</family>
  251.                 </prefer>
  252.         </alias>
  253.         <alias>
  254.                 <family>sans-serif</family>
  255.                 <prefer>
  256.                         <family>Bitstream Vera Sans</family>
  257.                         <family>Verdana</family>
  258.                         <family>Arial</family>
  259.                         <family>Albany AMT</family>
  260.                         <family>Luxi Sans</family>
  261.                         <family>Nimbus Sans L</family>
  262.                         <family>Helvetica</family>
  263.                         <family>Nachlieli</family>
  264.                         <family>Kochi Gothic</family>
  265.                         <family>AR PL KaitiM GB</family>
  266.                         <family>AR PL KaitiM Big5</family>
  267.                         <family>MS ゴシック</family>
  268.                         <family>Baekmuk Dotum</family>
  269.                         <family>SimSun</family>
  270.                         <family>FreeSans</family>
  271.                 </prefer>
  272.         </alias>
  273.         <alias>
  274.                 <family>monospace</family>
  275.                 <prefer>
  276.                         <family>Bitstream Vera Sans Mono</family>
  277.                         <family>Andale Mono</family>
  278.                         <family>Courier New</family>
  279.                         <family>Cumberland AMT</family>
  280.                         <family>Luxi Mono</family>
  281.                         <family>Nimbus Mono L</family>
  282.                         <family>Courier</family>
  283.                         <family>Miriam Mono</family>
  284.                         <family>Kochi Gothic</family>
  285.                         <family>AR PL KaitiM GB</family>
  286.                         <family>Baekmuk Dotum</family>
  287.                         <family>FreeMono</family>
  288.                 </prefer>
  289.         </alias>

  290. <!--
  291. Suitable free alias for Symbol font
  292. -->

  293.         <alias>
  294.                 <family>Symbol</family>
  295.                 <accept><family>Standard Symbols L</family></accept>
  296.         </alias>
  297.         <alias>
  298.                 <family>ZapfDingbats</family>
  299.                 <accept><family>Dingbats</family></accept>
  300.         </alias>

  301. <!--
  302. Artificial oblique for fonts without an italic or oblique version
  303. -->

  304.         <match target="font">
  305.                 <!-- check to see if the font is roman -->
  306.                 <test name="slant">
  307.                         <const>roman</const>
  308.                 </test>
  309.                 <!-- check to see if the pattern requested non-roman -->
  310.                 <test target="pattern" name="slant" compare="not_eq">
  311.                         <const>roman</const>
  312.                 </test>
  313.                 <!-- multiply the matrix to slant the font -->
  314.                 <edit name="matrix" mode="assign">
  315.                         <times>
  316.                                 <name>matrix</name>
  317.                                 <matrix><double>1</double><double>0.2</double>
  318.                                         <double>0</double><double>1</double>
  319.                                 </matrix>
  320.                         </times>
  321.                 </edit>
  322.                 <!-- pretend the font is oblique now -->
  323.                 <edit name="slant" mode="assign">
  324.                         <const>oblique</const>
  325.                 </edit>
  326.         </match>

  327. <!--
  328. Synthetic emboldening for fonts that do not have bold face available
  329. -->

  330.         <match target="font">
  331.                 <!-- check to see if the font is just regular -->
  332.                 <test name="weight" compare="less_eq">
  333.                         <int>100</int>
  334.                 </test>
  335.                 <!-- check to see if the pattern requests bold -->
  336.                 <test target="pattern" name="weight" compare="more_eq">
  337.                         <int>180</int>
  338.                 </test>
  339.                 <!-- set the embolden flag -->
  340.                 <edit name="embolden" mode="assign">
  341.                         <bool>true</bool>
  342.                 </edit>
  343.         </match>


  344.         <config>
  345. <!--
  346.   These are the default Unicode chars that are expected to be blank
  347.   in fonts.  All other blank chars are assumed to be broken and
  348.   won't appear in the resulting charsets
  349. -->
  350.                 <blank>
  351.                         <int>0x0020</int>       <!-- SPACE -->
  352.                         <int>0x00A0</int>       <!-- NO-BREAK SPACE -->
  353.                         <int>0x00AD</int>       <!-- SOFT HYPHEN -->
  354.                         <int>0x034F</int>       <!-- COMBINING GRAPHEME JOINER -->
  355.                         <int>0x0600</int>       <!-- ARABIC NUMBER SIGN -->
  356.                         <int>0x0601</int>       <!-- ARABIC SIGN SANAH -->
  357.                         <int>0x0602</int>       <!-- ARABIC FOOTNOTE MARKER -->
  358.                         <int>0x0603</int>       <!-- ARABIC SIGN SAFHA -->
  359.                         <int>0x06DD</int>       <!-- ARABIC END OF AYAH -->
  360.                         <int>0x070F</int>       <!-- SYRIAC ABBREVIATION MARK -->
  361.                         <int>0x115F</int>       <!-- HANGUL CHOSEONG FILLER -->
  362.                         <int>0x1160</int>       <!-- HANGUL JUNGSEONG FILLER -->
  363.                         <int>0x1680</int>       <!-- OGHAM SPACE MARK -->
  364.                         <int>0x17B4</int>       <!-- KHMER VOWEL INHERENT AQ -->
  365.                         <int>0x17B5</int>       <!-- KHMER VOWEL INHERENT AA -->
  366.                         <int>0x180E</int>       <!-- MONGOLIAN VOWEL SEPARATOR -->
  367.                         <int>0x2000</int>       <!-- EN QUAD -->
  368.                         <int>0x2001</int>       <!-- EM QUAD -->
  369.                         <int>0x2002</int>       <!-- EN SPACE -->
  370.                         <int>0x2003</int>       <!-- EM SPACE -->
  371.                         <int>0x2004</int>       <!-- THREE-PER-EM SPACE -->
  372.                         <int>0x2005</int>       <!-- FOUR-PER-EM SPACE -->
  373.                         <int>0x2006</int>       <!-- SIX-PER-EM SPACE -->
  374.                         <int>0x2007</int>       <!-- FIGURE SPACE -->
  375.                         <int>0x2008</int>       <!-- PUNCTUATION SPACE -->
  376.                         <int>0x2009</int>       <!-- THIN SPACE -->
  377.                         <int>0x200A</int>       <!-- HAIR SPACE -->
  378.                         <int>0x200B</int>       <!-- ZERO WIDTH SPACE -->
  379.                         <int>0x200C</int>       <!-- ZERO WIDTH NON-JOINER -->
  380.                         <int>0x200D</int>       <!-- ZERO WIDTH JOINER -->
  381.                         <int>0x200E</int>       <!-- LEFT-TO-RIGHT MARK -->
  382.                         <int>0x200F</int>       <!-- RIGHT-TO-LEFT MARK -->
  383.                         <int>0x2028</int>       <!-- LINE SEPARATOR -->
  384.                         <int>0x2029</int>       <!-- PARAGRAPH SEPARATOR -->
  385.                         <int>0x202A</int>       <!-- LEFT-TO-RIGHT EMBEDDING -->
  386.                         <int>0x202B</int>       <!-- RIGHT-TO-LEFT EMBEDDING -->
  387.                         <int>0x202C</int>       <!-- POP DIRECTIONAL FORMATTING -->
  388.                         <int>0x202D</int>       <!-- LEFT-TO-RIGHT OVERRIDE -->
  389.                         <int>0x202E</int>       <!-- RIGHT-TO-LEFT OVERRIDE -->
  390.                         <int>0x202F</int>       <!-- NARROW NO-BREAK SPACE -->
  391.                         <int>0x205F</int>       <!-- MEDIUM MATHEMATICAL SPACE -->
  392.                         <int>0x2060</int>       <!-- WORD JOINER -->
  393.                         <int>0x2061</int>       <!-- FUNCTION APPLICATION -->
  394.                         <int>0x2062</int>       <!-- INVISIBLE TIMES -->
  395.                         <int>0x2063</int>       <!-- INVISIBLE SEPARATOR -->
  396.                         <int>0x206A</int>       <!-- INHIBIT SYMMETRIC SWAPPING -->
  397.                         <int>0x206B</int>       <!-- ACTIVATE SYMMETRIC SWAPPING -->
  398.                         <int>0x206C</int>       <!-- INHIBIT ARABIC FORM SHAPING -->
  399.                         <int>0x206D</int>       <!-- ACTIVATE ARABIC FORM SHAPING -->
  400.                         <int>0x206E</int>       <!-- NATIONAL DIGIT SHAPES -->
  401.                         <int>0x206F</int>       <!-- NOMINAL DIGIT SHAPES -->
  402.                         <int>0x3000</int>       <!-- IDEOGRAPHIC SPACE -->
  403.                         <int>0x3164</int>       <!-- HANGUL FILLER -->
  404.                         <int>0xFEFF</int>       <!-- ZERO WIDTH NO-BREAK SPACE -->
  405.                         <int>0xFFA0</int>       <!-- HALFWIDTH HANGUL FILLER -->
  406.                         <int>0xFFF9</int>       <!-- INTERLINEAR ANNOTATION ANCHOR -->
  407.                         <int>0xFFFA</int>       <!-- INTERLINEAR ANNOTATION SEPARATOR -->
  408.                         <int>0xFFFB</int>       <!-- INTERLINEAR ANNOTATION TERMINATOR -->
  409.                 </blank>
  410. <!--
  411.   Rescan configuration every 30 seconds when FcFontSetList is called
  412. -->
  413.                 <rescan>
  414.                         <int>30</int>
  415.                 </rescan>
  416.         </config>

  417. </fontconfig>
复制代码

不知应该怎么该?

本帖子中包含更多资源

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

x
发表于 2006-10-29 11:19:13 | 显示全部楼层
第一张图明显不是wqy  你可以在浏览器设置 强制使用wqy
  1. localhost ~ # cat .fonts.conf
  2. <!--
  3.    configurations for WenQuanYi bitmap fonts
  4.         by Funda Wang
  5. -->
  6. <match target="pattern">
  7.         <test compare="more_eq" name="pixelsize">
  8.                 <double>12</double>
  9.         </test>
  10.         <test compare="less_eq" name="pixelsize">
  11.                 <double>16</double>
  12.         </test>
  13.         <edit name="family" mode="append" binding="strong">
  14.                 <string>WenQuanYi Bitmap Song</string>
  15.         </edit>
  16. </match>
  17. <!--match target="pattern">
  18.         <test compare="more_eq" name="size">
  19.                 <double>9</double>
  20.         </test>
  21.         <test compare="less_eq" name="size">
  22.                 <double>12</double>
  23.         </test>
  24.         <edit name="family" mode="append" binding="strong">
  25.                 <string>WenQuanYi Bitmap Song</string>
  26.         </edit>
  27. </match-->
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-10-29 12:10:49 | 显示全部楼层
在我的系统(PPC64)中以前也出现过,后来我删去了arphic等中文字体,只保留VeraSansYuanTi和WenQuanYi两种,修改相应的local.conf和.font.conf配置,问题就解决了。现在opera-9.0.2也没有问题了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-29 16:15:50 | 显示全部楼层
Post by fakeid
第一张图明显不是wqy  你可以在浏览器设置 强制使用wqy
  1. localhost ~ # cat .fonts.conf
  2. <!--
  3.    configurations for WenQuanYi bitmap fonts
  4.         by Funda Wang
  5. -->
  6. <match target="pattern">
  7.         <test compare="more_eq" name="pixelsize">
  8.                 <double>12</double>
  9.         </test>
  10.         <test compare="less_eq" name="pixelsize">
  11.                 <double>16</double>
  12.         </test>
  13.         <edit name="family" mode="append" binding="strong">
  14.                 <string>WenQuanYi Bitmap Song</string>
  15.         </edit>
  16. </match>
  17. <!--match target="pattern">
  18.         <test compare="more_eq" name="size">
  19.                 <double>9</double>
  20.         </test>
  21.         <test compare="less_eq" name="size">
  22.                 <double>12</double>
  23.         </test>
  24.         <edit name="family" mode="append" binding="strong">
  25.                 <string>WenQuanYi Bitmap Song</string>
  26.         </edit>
  27. </match-->
复制代码


我把字体全改为wqy了,把.fonts.conf也换成你那个,还是一样!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-29 16:20:29 | 显示全部楼层
Post by zyx
在我的系统(PPC64)中以前也出现过,后来我删去了arphic等中文字体,只保留VeraSansYuanTi和WenQuanYi两种,修改相应的local.conf和.font.conf配置,问题就解决了。现在opera-9.0.2也没有问题了。

怎么删呢?删去哪些?我看了以前一些帖子,有些人也是这样搞定的
回复 支持 反对

使用道具 举报

发表于 2006-10-29 22:53:37 | 显示全部楼层
把这一段加入~/.fonts.conf
没有的话就自己创建一个
这段的作用是关闭18号以下的这几个中文字体的antialias

<match target="font" >
  <test compare="eq" name="family" >
   <string>SimSun</string>
   <string>宋体</string>
   <string>NSimSun</string>
   <string>AR PL New Sung</string>
   <string>MingLiU</string>
   <string>MingLiU</string>
  </test>
  <test compare="less_eq" name="pixelsize" >
   <double>18</double>
  </test>
  <edit name="antialias" >
   <bool>false</bool>
  </edit>
  <edit name="autohint" >
   <bool>false</bool>
  </edit>
</match>
回复 支持 反对

使用道具 举报

发表于 2006-10-30 00:34:22 | 显示全部楼层
看上去有点像simsun……
回复 支持 反对

使用道具 举报

发表于 2006-10-30 00:37:22 | 显示全部楼层
我是假设楼主用了simsun,否则如果用的是没有embedded bitmap的字体就只能是虚的了。
或者用微软雅黑吧,呵呵
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 15:35:33 | 显示全部楼层
Post by zhllg
把这一段加入~/.fonts.conf
没有的话就自己创建一个
这段的作用是关闭18号以下的这几个中文字体的antialias

<match target="font" >
  <test compare="eq" name="family" >
   <string>SimSun</string>
   <string>宋体</string>
   <string>NSimSun</string>
   <string>AR PL New Sung</string>
   <string>MingLiU</string>
   <string>MingLiU</string>
  </test>
  <test compare="less_eq" name="pixelsize" >
   <double>18</double>
  </test>
  <edit name="antialias" >
   <bool>false</bool>
  </edit>
  <edit name="autohint" >
   <bool>false</bool>
  </edit>
</match>

非常感谢!
照你办法解决了!
不过我用的是wqy,所以在你的.font.conf里加了一行:

  1. $ cat .fonts.conf
  2. <match target="font" >
  3. <test compare="eq" name="family" >
  4. <string>WenQuanYi Bitmap Song</string>
  5. <string>SimSun</string>
  6. <string>宋体</string>
  7. <string>NSimSun</string>
  8. <string>AR PL New Sung</string>
  9. <string>MingLiU</string>
  10. <string>PMingLiU</string>
  11. </test>
  12. <test compare="less_eq" name="pixelsize" >
  13. <double>18</double>
  14. </test>
  15. <edit name="antialias" >
  16. <bool>false</bool>
  17. </edit>
  18. <edit name="autohint" >
  19. <bool>false</bool>
  20. </edit>
  21. </match>
复制代码

重启X就好了!现在已经没问题了!
以前就听说可能是反据齿的问题,但是都不知怎么改,原来是加进“antialias”(是翻译为反据齿吗?)一段!

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2006-10-31 15:48:55 | 显示全部楼层
晕,我以前用的一直像第一张图那样,还以为就是那个样子呢,呵呵
回复 支持 反对

使用道具 举报

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

本版积分规则

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