[问题]怎么设置系统首选中文字体?

系统字体配置、中文显示和输入法问题
回复
zhang00000
帖子: 15
注册时间: 2007-04-20 21:21
送出感谢: 0
接收感谢: 0

[问题]怎么设置系统首选中文字体?

#1

帖子 zhang00000 » 2007-06-07 15:50

当我选用一些英文字体比如Sans时,怎么让它与我想要的中文字体绑定?
就是说比如我设置的等宽字体是Courier 10 Pitch,可有时终端时还会显示中文,这时显示的中文字体就是WQY
我想让它显示华文黑体STHeiti怎么办?
过去用黑体一直很好,有一天好新鲜用了把WQY,现在想改回去,改不回去了
那么我的 /etc/fonts/language-selector.conf

代码: 全选

<fontconfig>

	<alias>

                <family>serif</family>

                <prefer>

                        <family>Bitstream Vera Serif</family>

                        <family>STHeiti</family> 
				<family>DejaVu Serif</family>
				<family>AR PL ShanHeiSun Uni</family>

                        <family>AR PL ZenKai Uni</family>

                </prefer>

        </alias>

        <alias>

                <family>sans-serif</family>

                <prefer>

                        <family>Bitstream Vera Sans</family>

                        <family>STHeiti</family>
				<family>DejaVu Sans</family>
                        <family>AR PL ShanHeiSun Uni</family>

                        <family>AR PL ZenKai Uni</family>

                </prefer>

        </alias>

        <alias>

                <family>monospace</family>

                <prefer>

                        <family>Bitstream Vera Sans Mono</family>

                        <family>STHeiti</family> 
				<family>DejaVu Sans Mono</family>
                        <family>AR PL ShanHeiSun Uni</family>

                        <family>AR PL ZenKai Uni</family>

                </prefer>

        </alias>

        <match target="font" >

                <test name="family" compare="contains" >

                        <string>Song</string>

                        <string>Sun</string>

                        <string>Kai</string>

                        <string>Ming</string>

                </test> 

                <!-- check to see if the font is just regular -->

                <test name="weight" compare="less_eq">

                        <int>100</int>

		</test>

                <test compare="more_eq" target="pattern" name="weight" >

                        <int>180</int>

                </test>

                <edit mode="assign" name="embolden" >

                        <bool>true</bool>

                </edit>

	</match>

        <match target="font" >

                <test name="family" compare="contains" >

                        <string>Song</string>

                        <string>Sun</string>

                        <string>Kai</string>

                        <string>Ming</string>

                </test> 

                <edit name="globaladvance">

                        <bool>false</bool>

                </edit>

                <edit name="spacing">

                        <int>0</int>

                </edit>

                <edit name="hinting">

                        <bool>true</bool>

                </edit>

                <edit name="autohint">

                        <bool>false</bool>

                </edit>

                <edit name="antialias" mode="assign">

                        <bool>true</bool>

                </edit>

                <test name="pixelsize" compare="less_eq">

                        <int>18</int>

                </test>

                <edit name="antialias" mode="assign" >

                        <bool>false</bool>

                </edit>

        </match>

</fontconfig>
我尽力去把它向着STHeiti的方向改,可是还是这样
谁来教教我怎么改?
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北
送出感谢: 0
接收感谢: 1 次

#2

帖子 rhfcaesar » 2007-06-09 17:01

把你的/etc/fonts/fonts.conf贴出来看看
回复

回到 “字体美化和中文支持”