klindi的配置

仅供存放个人的配置文件,不要在本版发问。
回复
头像
klindi
帖子: 78
注册时间: 2010-05-28 16:16
送出感谢: 0
接收感谢: 0

klindi的配置

#1

帖子 klindi » 2011-03-08 16:33

/etc/fonts之locale.conf

代码: 全选

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

	<match target="pattern">
		<test qual="any" name="family">
			<string>serif</string>
		</test>
		<edit name="family" mode="prepend" binding="strong">
			<string>DejaVu Serif</string>
			<string>Bitstream Vera Serif</string>
			<string>WenQuanYi Zen Hei Sharp</string>
			<string>WenQuanYi Bitmap Song</string>
			<string>HYSong</string>
		</edit>
	</match> 
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans-serif</string>
		</test>
		<edit name="family" mode="prepend" binding="strong">
			<string>MONACO</string>
			<string>DejaVu Sans</string>
			<string>Bitstream Vera Sans</string>
			<string>LMYY</string>
			<string>WenQuanYi Micro Hei</string>
			<string>WenQuanYi Zen Hei</string>
		</edit>
	</match> 
	<match target="pattern">
		<test qual="any" name="family">
			<string>monospace</string>
		</test>
		<edit name="family" mode="prepend" binding="strong">
			<string>MONACO</string>
			<string>DejaVu Sans Mono</string>
			<string>Bitstream Vera Sans Mono</string>
			<string>LMYY</string>
			<string>WenQuanYi Micro Hei Mono</string>
			<string>WenQuanYi Zen Hei Mono</string>
		</edit>
	</match> 
<!--CJK en Replace to Monaco-->
	<match target="pattern">
		<test name="family">
			<string>LMYY</string>
			<string>WenQuanYi Micro Hei</string>
			<string>WenQuanYi Zen Hei</string>
			<string>WenQuanYi Zen Hei Sharp</string>
			<string>WenQuanYi Bitmap Song</string>
			<string>HYSong</string>
		</test>
		<edit name="family" mode="prepend" binding="strong">
			<string>MONACO</string>
		</edit>
	</match>
<!--Serif Bitmap-->
        <match target="font" >
                <test name="family" compare="contains" >
			<string>WenQuanYi Zen Hei Sharp</string>
			<string>WenQuanYi Bitmap Song</string>
			<string>HYSong</string>
                </test> 
                <edit name="globaladvance">
                        <bool>false</bool>
                </edit>
                <edit name="spacing">
                        <int>0</int>
                </edit>
                <edit name="hinting">
                        <bool>false</bool>
                </edit>
                <edit name="autohint">
                        <bool>false</bool>
                </edit>
                <edit name="antialias" mode="assign">
                        <bool>true</bool>
                </edit>
                <test name="pixelsize" compare="more_eq">
                        <int>12</int>
                </test>
                <test name="pixelsize" compare="less_eq">
                        <int>20</int>
                </test>
                <edit name="antialias" mode="assign" >
                        <bool>false</bool>
                </edit>
        </match>
<!--CJK wide-->
	<match target="font">
                <test target="pattern" name="lang" compare="contains">
                        <string>zh</string>
                        <string>ja</string>
                        <string>ko</string>
                </test>
                <edit name="spacing">
                        <const>proportional</const>
                </edit>
                <edit name="globaladvance">
                		<bool>false</bool>
                </edit>
        </match>

</fontconfig>
回复

回到 “个人配置文件存放点”