LinuxSir.cn,穿越时空的Linuxsir!

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

粗体的显示不清楚,麻烦各位帮忙看看哪有问题~~~

[复制链接]
发表于 2006-3-12 11:59:21 | 显示全部楼层 |阅读模式
Debian testing,原来装的是arphi*的那些字体,发虚在论坛翻了好多文章
后来就复制了simsun.ttf,simhei.ttf,tahoma.ttf,tahomabd.ttf到/usr/share/fonts/truetype/目录下
如图,当字号较小时 ,粗体的笔划就连在一起显示不清楚,麻烦各位帮忙看看到底是哪设置有问题?

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

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

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

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

  17.         Keith Packard
  18. -->

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

  20.         <dir>/usr/share/fonts</dir>
  21.        
  22.         <dir>/usr/share/fonts</dir>
  23.         <dir>/usr/local/share/fonts</dir>
  24.         <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
  25.         <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
  26.         <dir>~/.fonts</dir>

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

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

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

  60. <!--
  61.   Mark common families with their generics so we'll get
  62.   something reasonable
  63. -->

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

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

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

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

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

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

  182.         <match target="font">
  183.                 <test name="family"><string>GungsuhChe</string></test>
  184.                 <edit name="globaladvance"><bool>false</bool></edit>
  185.         </match>

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

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

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

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

  226. <!--
  227.   Load per-user customization file
  228. -->
  229.         <include ignore_missing="yes">~/.fonts.conf</include>

  230. <!--
  231.   Load local system customization file
  232. -->
  233.         <include ignore_missing="yes">conf.d</include>
  234.         <include ignore_missing="yes">local.conf</include>

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

  293. <!--
  294. Artificial oblique for fonts without an italic or oblique version
  295. -->

  296.         <match target="font">
  297.                 <!-- check to see if the font is roman -->
  298.                 <test name="slant">
  299.                         <const>roman</const>
  300.                 </test>
  301.                 <!-- check to see if the pattern requested non-roman -->
  302.                 <test target="pattern" name="slant" compare="not_eq">
  303.                         <const>roman</const>
  304.                 </test>
  305.                 <!-- multiply the matrix to slant the font -->
  306.                 <edit name="matrix" mode="assign">
  307.                         <times>
  308.                                 <name>matrix</name>
  309.                                 <matrix><double>1</double><double>0.2</double>
  310.                                         <double>0</double><double>1</double>
  311.                                 </matrix>
  312.                         </times>
  313.                 </edit>
  314.                 <!-- pretend the font is oblique now -->
  315.                 <edit name="slant" mode="assign">
  316.                         <const>oblique</const>
  317.                 </edit>
  318.         </match>

  319. <!--
  320. Synthetic emboldening for fonts that do not have bold face available
  321. -->

  322.         <match target="font">
  323.                 <!-- check to see if the font is just regular -->
  324.                 <test name="weight" compare="less_eq">
  325.                         <int>100</int>
  326.                 </test>
  327.                 <!-- check to see if the pattern requests bold -->
  328.                 <test target="pattern" name="weight" compare="more_eq">
  329.                         <int>200</int>
  330.                 </test>
  331.                 <!-- set the embolden flag -->
  332.                 <edit name="embolden" mode="assign">
  333.                         <bool>true</bool>
  334.                 </edit>
  335.         </match>


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

  409. </fontconfig>
复制代码



local.conf文件内容:

  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">

  3. <fontconfig>

  4. <dir>/usr/share/fonts</dir>
  5. <dir>~/.fonts/</dir>

  6. <!--
  7. 配置粗體中文顯示,要配合freetype-2.1.10,libxft-2.1.7,fontconfig-2.3.X
  8. -->

  9. <match target="font">
  10.         <!-- check to see if the font is just regular -->
  11.         <test name="weight" compare="less_eq">
  12.                 <int>100</int>
  13.         </test>
  14.         <!-- check to see if the pattern requests bold -->
  15.         <test target="pattern" name="weight" compare="more_eq">
  16.                 <int>180</int>
  17.         </test>
  18.         <!-- set the embolden flag -->
  19.         <edit name="embolden" mode="assign">
  20.                 <bool>true</bool>
  21.         </edit>
  22. </match>

  23. <!--default settings for all fonts.-->
  24. <match target="font" >
  25.         <!-- 打開字體的反鋸齒即AA,大號字用AA會更美觀 -->
  26.         <edit mode="assign" name="antialias" >
  27.                 <bool>t</bool>
  28.         </edit>
  29.         <edit mode="assign" name="hintstyle" >
  30.                 <const>hintslight</const>
  31.         </edit>
  32.         <!-- 打開hint -->
  33.         <edit mode="assign" name="hint" >
  34.                 <bool>t</bool>
  35.         </edit>
  36.         <!-- 關閉autohint -->
  37.         <edit mode="assign" name="autohint" >
  38.                 <bool>false</bool>
  39.         </edit>
  40. </match>

  41. <!-- 關閉 8到17號字體的AA -->
  42. <match target="font" >

  43.         <test compare="contains" name="lang" >
  44.                 <string>zh-cn</string>
  45.                 <string>zh-tw</string>
  46.                 <string>ja</string>
  47.                 <string>ko</string>
  48.         </test>

  49.         <test compare="more_eq" name="pixelsize" qual="any" >
  50.                 <double>8</double>
  51.         </test>
  52.         <test compare="less_eq" name="pixelsize" qual="any" >
  53.                 <double>17</double>
  54.         </test>
  55.         <edit mode="assign" name="antialias" >
  56.                 <bool>false</bool>
  57.         </edit>
  58. </match>

  59. <!-- Enable sub-pixel rasterisaton on LCD displays -->
  60. <match target="font">
  61.         <edit name="rgba" mode="assign">
  62.                 <const>rgb</const>
  63.         </edit>
  64. </match>

  65. <!-- 解決英文字體間距過寬 -->
  66. <match target="font">
  67.         <test target="pattern" name="lang" compare="contains">
  68.                 <string>zh-tw</string>
  69.                 <string>zh-cn</string>
  70.                 <string>ja</string>
  71.                 <string>ko</string>
  72.         </test>
  73.         <edit name="spacing">
  74.                 <const>proportional</const>
  75.         </edit>
  76.         <edit name="globaladvance">
  77.                 <bool>false</bool>
  78.         </edit>
  79. </match>

  80. <!--設定中文最小字號,使得小字的中文美觀-->
  81. <match target="font" >
  82.         <test name="family" qual="any" >
  83.                 <string>SimSun</string>
  84.                 <string>NSimSun</string>
  85.                 <string>SimHei</string>
  86.                 <string>FangSong_GB2312</string>
  87.                 <string>KaiTi_GB2312</string>
  88.         </test>
  89.         <test compare="more_eq" name="pixelsize" >
  90.                 <int>8</int>
  91.         </test>
  92.         <test compare="less_eq" name="pixelsize" >
  93.                 <int>12</int>
  94.         </test>
  95.         <edit compare="eq" name="pixelsize" >
  96.                 <int>12</int>
  97.         </edit>
  98. </match>
  99. <!-- Default fonts -->
  100. <alias>
  101.         <family>Bitstream Vera Serif</family>
  102.         <family>Times New Roman</family>
  103.         <family>Times</family>
  104.         <family>SimSun</family>
  105.         <family>MingLiU</family>
  106.         <default><family>serif</family></default>
  107. </alias>
  108. <alias>
  109.         <family>Bitstream Vera Sans</family>
  110.         <family>Tahoma</family>
  111.         <family>SimSun</family>
  112.         <family>MingLiU</family>
  113.         <default><family>sans-serif</family></default>
  114. </alias>
  115. <alias>
  116.         <family>Bitstream Vera Sans Mono</family>
  117.         <family>Courier</family>
  118.         <family>Courier New</family>
  119.         <family>SimSun</family>
  120.         <family>MingLiU</family>
  121.         <default><family>monospace</family></default>
  122. </alias>

  123. <!--字体替换顺序-->
  124. <alias>
  125.         <family>serif</family>
  126.         <prefer>
  127.                 <family>Times New Roman</family>
  128.                 <family>Times</family>
  129.                 <family>SimSun</family>
  130.                 <family>MingLiU</family>
  131.         </prefer>
  132. </alias>
  133. <alias>
  134.         <family>sans-serif</family>
  135.         <prefer>
  136.                 <family>Tahoma</family>
  137.                 <family>SimSun</family>
  138.                 <family>MingLiU</family>
  139.         </prefer>
  140. </alias>
  141. <alias>
  142.         <family>monospace</family>
  143.         <prefer>
  144.                 <family>Terminal</family>
  145.                 <family>Courier New</family>
  146.                 <family>SimSun</family>
  147.                 <family>MingLiU</family>
  148.         </prefer>
  149. </alias>

  150. </fontconfig>
复制代码

本帖子中包含更多资源

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

x
 楼主| 发表于 2006-3-13 07:54:09 | 显示全部楼层
...没人帮看一下吗
回复 支持 反对

使用道具 举报

发表于 2006-3-13 11:49:05 | 显示全部楼层
这个是伪粗体,对于汉字好像就这样了吧,希望有更好的。但是对于英文部分则可以更好,就是不要用中文字体来显示英文,再使用反锯齿应该就好了。
回复 支持 反对

使用道具 举报

发表于 2006-3-13 13:24:44 | 显示全部楼层
我觉得你的字体显示的已经很好了啊~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-13 17:49:32 | 显示全部楼层
Post by waq
这个是伪粗体,对于汉字好像就这样了吧,希望有更好的。但是对于英文部分则可以更好,就是不要用中文字体来显示英文,再使用反锯齿应该就好了。

我就是觉得英文粗体太不好看了,请问一下该怎么修改配置文件?
回复 支持 反对

使用道具 举报

发表于 2006-3-13 17:56:02 | 显示全部楼层
我在FF中设置字体为Times New Roman,而且不允许选择使用其它字体。英文就会漂亮一些。
回复 支持 反对

使用道具 举报

发表于 2006-3-14 02:21:43 | 显示全部楼层
Post by 今天狂风
我就是觉得英文粗体太不好看了,请问一下该怎么修改配置文件?


不知道楼主有没有装 Bitstream 英文字体呢?

  1. fc-list |grep Bitstream
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-15 00:51:31 | 显示全部楼层
Post by achaoge
不知道楼主有没有装 Bitstream 英文字体呢?

  1. fc-list |grep Bitstream
复制代码


$fc-list |grep Bitstream
Bitstream Vera Sans Mono:style=Bold
Bitstream Vera Sans:style=Oblique
Bitstream Vera Sans:style=Roman
Bitstream Vera Sans Mono:style=Oblique
Bitstream Vera Sans:style=Bold
Bitstream Vera Serif:style=Roman
Bitstream Vera Sans Mono:style=Bold Oblique
Bitstream Vera Sans:style=Bold Oblique
Bitstream Vera Sans Mono:style=Roman
Bitstream Vera Serif:style=Bold
回复 支持 反对

使用道具 举报

发表于 2006-3-16 12:10:58 | 显示全部楼层
安装好看的英文字体如DejaVu或Bitstream Vera,在FireFox中选字体时,不要直接选择中文字体,应选择这些英文字体,英文应该就不错的了。如果这时候中文显示反而不行了,那就是字体配置文件配置的问题,如/etc/fonts/fonts.conf(这个文件是不应该修改的),/etc/fonts/local.conf(可以改这个文件),~/.fonts.conf(最好改这个文件,不影响系统,不用root权限),我发现有不少美化的方法忽视了英文字体。在我的系统中,任何地方都不会选择使用中文字体(OOo除外),fontconfig会自动找到我给它配置的中文字体的。
但是,非Debian官方的FireFox也许使用了自己的字体驱动,象OOo一样,不知道会不会有问题。
回复 支持 反对

使用道具 举报

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

本版积分规则

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