QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1082|回复: 8

怎样使字体更清楚?

[复制链接]
发表于 2004-11-26 13:51:19 | 显示全部楼层 |阅读模式
怎样使字体更清楚?
大家好,我刚在笔记本上使用linux,但是发现所显示的字体很模糊,远不及windows下清楚.我在设置访问windows分区时,,已经在fstab上添加了:/dev/hda5 /mnt/windows vfat auto,umask=0 0 0的信息,并且保存.但是重起后依然找不见所加的分区,请熟悉的朋友告知,谢谢!
发表于 2004-11-26 15:54:10 | 显示全部楼层
字体不清楚的问题,可以换一个/etc/fonts/fonts.conf文件看看 --> 这个文件可以用Magic Linux的,绝对棒
回复

使用道具 举报

 楼主| 发表于 2004-11-26 16:33:52 | 显示全部楼层
谢谢你的回帖,但我是个新手,你说这个文件可以用Magic Linux的,你能把这个文件的地址告诉我吗?是不是删掉原来的,拷贝这个就可以了?
回复

使用道具 举报

发表于 2004-11-26 17:38:31 | 显示全部楼层
[quote:f6d2bf9b72="foreverlinux"]谢谢你的回帖,但我是个新手,你说这个文件可以用Magic Linux的,你能把这个文件的地址告诉我吗?是不是删掉原来的,拷贝这个就可以了?[/quote]
修改配置文件前请先备份原来的文件 -- 经验之谈

fonts.conf文件可以用这个:
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=88097&highlight=font.conf
回复

使用道具 举报

 楼主| 发表于 2004-11-26 17:46:09 | 显示全部楼层
谢谢,我会试一下。
那个访问windows分区的问题能解答一下吗?谢谢!
回复

使用道具 举报

发表于 2004-11-27 16:06:21 | 显示全部楼层
有没有建好相应的目录?
回复

使用道具 举报

发表于 2004-11-28 16:41:50 | 显示全部楼层
用我这个fonts.conf,MAGIC的那个SimSun及有些字体没处理好。


[code:1]
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access -->
<fontconfig>

<!--
        The intent of this standard configuration file is to be adequate for
        most environments.  If you have a reasonably normal environment and
        have found problems with this configuration, they are probably
        things that others will also want fixed.  Please send any suggested
        changes to [email protected] so that future releases can include
        such changes.

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

        Keith Packard
-->


        <dir>/usr/share/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/opt/ttfonts</dir> <dir>/usr/share/yudit/fonts</dir>
        <dir>~/.fonts</dir>
<!--
  Enable sub-pixel rendering
        <match target="font">
                <test qual="all" name="rgba">
                        <const>unknown</const>
                </test>
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-->

<!--
  Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>mono</string>
                </test>
                <edit name="family" mode="assign">
                        <string>monospace</string>
                </edit>
        </match>

<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>sans serif</string>
                </test>
                <edit name="family" mode="assign">
                        <string>sans-serif</string>
                </edit>
        </match>

<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>sans</string>
                </test>
                <edit name="family" mode="assign">
                        <string>sans-serif</string>
                </edit>
        </match>

<!--
  Accept deprecated 'SimSun' alias, replacing it with 'SimHei
-->
        <match target="pattern">
        <test target="pattern" name="weight" compare="more">
            <const>medium</const>
        </test>
        <test name="family" compare="eq">
            <string>SimSun</string>
        </test>
        <edit name="family" mode="assign">
            <string>SimHei</string>
        </edit>
</match>

<!--
  Mark common families with their generics so we'll get
  something reasonable
-->

<!--
  Serif faces
-->
        <alias>
                <family>Helvetica</family>
                <family>SimSun</family>
                <family>Times</family>
                <family>Times New Roman</family>
                <family>Nimbus Roman No9 L</family>
                <family>Luxi Serif</family>
                <family>Sazanami Mincho</family>
                <family>AR PL ShanHeiSun Uni</family>
                <family>AR PL SungtiL GB</family>
                <family>AR PL Mingti2L Big5</family>
                <family>Baekmuk Batang</family>                       
                <family>FreeSerif</family>
                <default><family>serif</family></default>
        </alias>
<!--
  Sans-serif faces
-->
        <alias>
                <family>Helvetica</family>
                <family>SimSun</family>
                <family>Bitstream Vera Sans</family>
                <family>Arial</family>
                <family>Verdana</family>
                <family>Nimbus Sans L</family>
                <family>Luxi Sans</family>
                <family>Sazanami Gothic</family>
                <family>AR PL ZenKai Uni</family>
                <family>AR PL KaitiM GB</family>
                <family>AR PL KaitiM Big5</family>
                <family>Baekmuk Dotum</family>
                <family>FreeSans</family>
                <default><family>sans-serif</family></default>
        </alias>
<!--
  Monospace faces
-->
        <alias>
                <family>Helvetica</family>
                <family>SimSun</family>
                <family>Bitstream Vera Sans Mono</family>
                <family>Courier</family>
                <family>Courier New</family>
                <family>Andale Mono</family>
                <family>Luxi Mono</family>
                <family>Nimbus Mono L</family>
                <family>NSimSun</family>
                <family>FreeMono</family>
                <default><family>monospace</family></default>
        </alias>
<!--
  If the font still has no generic name, add sans-serif
-->
        <match target="pattern">
                <test qual="all" name="family" compare="not_eq">
                        <string>sans-serif</string>
                </test>
                <test qual="all" name="family" compare="not_eq">
                        <string>serif</string>
                </test>
                <test qual="all" name="family" compare="not_eq">
                        <string>monospace</string>
                </test>
                <edit name="family" mode="append_last">
                        <string>sans-serif</string>
                </edit>
        </match>
       
<!--
  Load per-user customization file
-->
        <include ignore_missing="yes">~/.fonts.conf</include>

<!--
  Load local system customization file
-->
        <include ignore_missing="yes">local.conf</include>

<!--
  Alias well known font names to available TrueType fonts
-->
        <alias>
                <family>Times</family>
                <accept><family>Times New Roman</family></accept>
        </alias>
        <alias>
                <family>Helvetica</family>
                <accept><family>Verdana</family></accept>
        </alias>
        <alias>
                <family>Arial</family>
                <accept><family>Verdana</family></accept>
        </alias>
        <alias>
                <family>Courier</family>
                <accept><family>Courier New</family></accept>
        </alias>

<!--
  Provide required aliases for standard names
-->
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Helvetica</family>
                        <family>SimSun</family>
                        <family>Times New Roman</family>
                        <family>Nimbus Roman No9 L</family>
                        <family>Luxi Serif</family>
                        <family>Times</family>
                        <family>Kochi Mincho</family>
                        <family>AR PL SungtiL GB</family>
                        <family>AR PL Mingti2L Big5</family>
                        <family>Baekmuk Batang</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Helvetica</family>
                        <family>SimSun</family>
                        <family>Verdana</family>
                        <family>Nimbus Sans L</family>
                        <family>Luxi Sans</family>
                        <family>Arial</family>
                        <family>Kochi Gothic</family>
                        <family>AR PL KaitiM GB</family>
                        <family>AR PL KaitiM Big5</family>
                        <family>Baekmuk Dotum</family>

                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Helvetica</family>
                        <family>SimSun</family>
                        <family>Andale Mono</family>
                        <family>Courier New</family>
                        <family>Luxi Mono</family>
                        <family>Nimbus Mono L</family>
                        <family>Kochi Gothic</family>
                        <family>AR PL KaitiM GB</family>
                        <family>Baekmuk Dotum</family>
                </prefer>
        </alias>

<match target="font" >
  <test compare="more" name="size" qual="any" >
   <double>8</double>
  </test>
  <test compare="less" name="size" qual="any" >
   <double>16</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
</match>

<match target="font" >
  <test compare="more" name="pixelsize" qual="any" >
   <double>8</double>
  </test>
  <test compare="less" name="pixelsize" qual="any" >
   <double>16</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
</match>

<!--
Artificial oblique for fonts without an italic or oblique version
-->

        <match target="font">
                <!-- check to see if the font is roman -->
                <test name="slant">
                        <const>roman</const>
                </test>
                <!-- check to see if the pattern requested non-roman -->
                <test target="pattern" name="slant" compare="not_eq">
                        <const>roman</const>
                </test>
                <!-- multiply the matrix to slant the font -->
                <edit name="matrix" mode="assign">
                        <times>
                                <name>matrix</name>
                                <matrix><double>1</double><double>.2</double>
                                        <double>0</double><double>1</double>
                                </matrix>
                        </times>
                </edit>
                <!--
                <edit name="antialias" mode="assign">
                        <bool>true</bool>
                </edit>
                -->
                <!-- pretend the font is oblique now -->
                <edit name="slant" mode="assign">
                        <const>oblique</const>
                </edit>
        </match>
<!--
Add by [email protected]
Artificial bold for fonts without a bold version.
-->
        <match target="font">
                <!-- check to see if the pattern requested > "medium" -->
                <test target="pattern" name="weight" compare="more">
                        <const>medium</const>
                </test>
                <!-- pretend the font is bold now -->
                <edit name="weight" mode="assign">
                        <const>bold</const>
                </edit>
        </match>


<match target="font">
        <test target="pattern" name="lang" compare="contains">
                <string>zh-tw</string>
                <string>zh-cn</string>
                <string>ja</string>
                <string>ko</string>
        </test>
                  <edit name="spacing">
                        <const>proportional</const>
                </edit>
        <edit name="globaladvance" mode="assign">
                <bool>false</bool>
        </edit>
</match>


<config>
<!--
  These are the default Unicode chars that are expected to be blank
  in fonts.  All other blank chars are assumed to be broken and
  won't appear in the resulting charsets
-->
                <blank>
                        <int>0x0020</int>        <!-- SPACE -->
                        <int>0x00a0</int>        <!-- NO-BREAK SPACE -->
                        <int>0x00ad</int>        <!-- SOFT HYPHEN -->
                        <int>0x115f</int>        <!-- HANGUL CHOSEONG FILLER -->
                        <int>0x1160</int>        <!-- HANGUL JUNGSEONG FILLER -->
                        <int>0x1680</int>        <!-- OGHAM SPACE MARK -->
                        <int>0x2000</int>        <!-- EN QUAD -->
                        <int>0x2001</int>        <!-- EM QUAD -->
                        <int>0x2002</int>        <!-- EN SPACE -->
                        <int>0x2003</int>        <!-- EM SPACE -->
                        <int>0x2004</int>        <!-- THREE-PER-EM SPACE -->
                        <int>0x2005</int>        <!-- FOUR-PER-EM SPACE -->
                        <int>0x2006</int>        <!-- SIX-PER-EM SPACE -->
                        <int>0x2007</int>        <!-- FIGURE SPACE -->
                        <int>0x2008</int>        <!-- PUNCTUATION SPACE -->
                        <int>0x2009</int>        <!-- THIN SPACE -->
                        <int>0x200a</int>        <!-- HAIR SPACE -->
                        <int>0x200b</int>        <!-- ZERO WIDTH SPACE -->
                        <int>0x200c</int>        <!-- ZERO WIDTH NON-JOINER -->
                        <int>0x200d</int>        <!-- ZERO WIDTH JOINER -->
                        <int>0x200e</int>        <!-- LEFT-TO-RIGHT MARK -->
                        <int>0x200f</int>        <!-- RIGHT-TO-LEFT MARK -->
                        <int>0x2028</int>        <!-- LINE SEPARATOR -->
                        <int>0x2029</int>        <!-- PARAGRAPH SEPARATOR -->
                        <int>0x202a</int>        <!-- LEFT-TO-RIGHT EMBEDDING -->
                        <int>0x202b</int>        <!-- RIGHT-TO-LEFT EMBEDDING -->
                        <int>0x202c</int>        <!-- POP DIRECTIONAL FORMATTING -->
                        <int>0x202d</int>        <!-- LEFT-TO-RIGHT OVERRIDE -->
                        <int>0x202e</int>        <!-- RIGHT-TO-LEFT OVERRIDE -->
                        <int>0x202f</int>        <!-- NARROW NO-BREAK SPACE -->
                        <int>0x205f</int>        <!-- MEDIUM MATHEMATICAL SPACE -->
                        <int>0x2060</int>        <!-- WORD JOINER -->
                        <int>0x2061</int>        <!-- FUNCTION APPLICATION -->
                        <int>0x2062</int>        <!-- INVISIBLE TIMES -->
                        <int>0x2063</int>        <!-- INVISIBLE SEPARATOR -->
                        <int>0x206A</int>        <!-- INHIBIT SYMMETRIC SWAPPING -->
                        <int>0x206B</int>        <!-- ACTIVATE SYMMETRIC SWAPPING -->
                        <int>0x206C</int>        <!-- INHIBIT ARABIC FORM SHAPING -->
                        <int>0x206D</int>        <!-- ACTIVATE ARABIC FORM SHAPING -->
                        <int>0x206E</int>        <!-- NATIONAL DIGIT SHAPES -->
                        <int>0x206F</int>        <!-- NOMINAL DIGIT SHAPES -->
                        <int>0x3000</int>        <!-- IDEOGRAPHIC SPACE -->
                        <int>0x3164</int>        <!-- HANGUL FILLER -->
                        <int>0xfeff</int>        <!-- ZERO WIDTH NO-BREAK SPACE -->
                        <int>0xffa0</int>        <!-- HALFWIDTH HANGUL FILLER -->
                        <int>0xfff9</int>        <!-- INTERLINEAR ANNOTATION ANCHOR -->
                        <int>0xfffa</int>        <!-- INTERLINEAR ANNOTATION SEPARATOR -->
                        <int>0xfffa</int>        <!-- INTERLINEAR ANNOTATION TERMINATOR -->
                </blank>
<!--
  Rescan configuration every 30 seconds when FcFontSetList is called
-->
                <rescan>
                        <int>30</int>
                </rescan>
        <other_family>
                        <bool>true</bool>
                </other_family>
        </config>

</fontconfig>
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-11-29 13:49:09 | 显示全部楼层
是不是直接拷贝就可以了?
回复

使用道具 举报

发表于 2004-11-29 14:20:55 | 显示全部楼层
留个足迹,好把楼上的文件搞回来……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-14 15:11 , Processed in 0.056190 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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