fktpp
发表于 2003-6-16 13:09:17
不知俺的local.conf管不管用
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
Try binding Tahoma to SimSun for better English fonts
-->
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>NSimSun</string>
</test>
<edit name="family" mode="prepend_first" binding="strong">
<string>Tahoma</string>
</edit>
</match>
<!--
binding Bitstream Vera Sans Mono to AR PL SungtiL GB
-->
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>AR PL SungtiL GB</string>
</test>
<edit name="family" mode="prepend_first" binding="strong">
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<!--
bingding Bitstream Vera Sans to AR PL Kaitim GB
-->
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>AR PL Kaitim GB</string>
</test>
<edit name="family" mode="prepend_first" binding="strong">
<string>Bitstream Vera Sans</string>
</edit>
</match>
</fontconfig>
KLite
发表于 2003-6-16 13:10:52
nt 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>
<!--
Check user preference to avoid bitmap fonts and replace
bitmap face names with equivalent scalable fonts
-->
<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Arial</string>
</edit>
</match>
<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Times</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Times New Roman</string>
</edit>
</match>
<!--
Provide required aliases for standard names
-->
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Times</family>
<family>Thorndale AMT</family>
<family>Nimbus Roman No9 L</family>
<family>Georgia</family>
<family>Bell MT</family>
<family>Luxi Serif</family>
<family>Kochi Mincho</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Batang</family>
</prefer>
</alias>
<alias>
<family>times-generic</family>
<prefer>
<family>Times New Roman</family>
<family>Times</family>
<family>Thorndale AMT</family>
<family>Bitstream Vera Serif</family>
<family>Nimbus Roman No9 L</family>
<family>Georgia</family>
<family>Bell MT</family>
<family>Luxi Serif</family>
<family>Kochi Mincho</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Batang</family>
</prefer>
</alias>
<alias>
<family>georgia-generic</family>
<prefer>
<family>Georgia</family>
<family>Bell MT</family>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Times</family>
<family>Thorndale AMT</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Kochi Mincho</family>
<family>SimSun</family>
<family>MingLiu</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>Bitstream Vera Sans</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Helvetica</family>
<family>Verdana</family>
<family>Segoe</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Trebuchet MS</family>
<family>Andale Sans</family>
<family>Comic Sans MS</family>
<family>Andy MT</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<alias>
<family>arial-generic</family>
<prefer>
<family>Arial</family>
<family>Albany AMT</family>
<family>Bitstream Vera Sans</family>
<family>Helvetica</family>
<family>Verdana</family>
<family>Segoe</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Trebuchet MS</family>
<family>Andale Sans</family>
<family>Comic Sans MS</family>
<family>Andy MT</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<alias>
<family>verdana-generic</family>
<prefer>
<family>Verdana</family>
<family>Segoe</family>
<family>Bitstream Vera Sans</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Helvetica</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Trebuchet MS</family>
<family>Andale Sans</family>
<family>Comic Sans MS</family>
<family>Andy MT</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<alias>
<family>comic-generic</family>
<prefer>
<family>Comic Sans MS</family>
<family>Andy MT</family>
<family>Bitstream Vera Sans</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Helvetica</family>
<family>Verdana</family>
<family>Segoe</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Trebuchet MS</family>
<family>Andale Sans</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<alias>
<family>trebuchet-generic</family>
<prefer>
<family>Trebuchet MS</family>
<family>Andale Sans</family>
<family>Bitstream Vera Sans</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Helvetica</family>
<family>Verdana</family>
<family>Segoe</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Comic Sans MS</family>
<family>Andy MT</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>Anonymous</family>
<family>Cumberland AMT</family>
<family>Courier New</family>
<family>Andale Mono</family>
<family>Courier</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<alias>
<family>courier-generic</family>
<prefer>
<family>Courier New</family>
<family>Cumberland AMT</family>
<family>Courier</family>
<family>Bitstream Vera Sans Mono</family>
<family>Anonymous</family>
<family>Andale Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Kochi Gothic</family>
<family>SimSun</family>
<family>MingLiu</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Gulim</family>
</prefer>
</alias>
<!--
We can't hint CJK fonts well, so turn off hinting for CJK fonts.
-->
<match target="font">
<test name="lang" compare="contains">
<string>ja</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<!-- the rh_prefer_bitmaps options (a nonstandard
extension), controls whether embedded
bitmaps, when available are preferred
to antialiased rendering. For Japanese,
we prefer antialiased rendering -->
<edit name="rh_prefer_bitmaps" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="lang" compare="contains">
<string>ko</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
</test>
<edit name="hinting" mode="assign">
<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>0.2</double>
<double>0</double><double>1</double>
</matrix>
</times>
</edit>
<!-- pretend the font is oblique now -->
<edit name="slant" mode="assign">
<const>oblique</const>
</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>0xfffb</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
</blank>
<!--
Rescan configuration every 30 seconds when FcFontSetList is called
-->
<rescan>
<int>30</int>
</rescan>
</config>
</fontconfig>
Ivn
发表于 2003-6-16 14:11:27
不怎么样,很多字都有重叠现象
可能是用了tohama/verdana之类
我贴一个我得gnome-terminal..
简简单单就好
//
不错,终端中字体在redhat8.0 中有很大的改变,有许多字体看上去很漂亮,
可是一到终端中就有重叠的现象。如果只是为了看上去漂亮,那也无所谓了,
可要是编码的时候整天看着这样的字体就痛苦了。
loves
发表于 2003-6-16 22:05:05
对啊,有没有从根本上解决的办法啊?(不要换字体)
gackt3541
发表于 2003-6-16 23:42:27
http://www.acad.polyu.edu.hk/~lbdennis/hifi/screenshot/Screenshot-Gnome-terminal-16062003.png
:-D
I want to know ,what is the meaning of PP ?
Thank you so much
fktpp
发表于 2003-6-17 22:30:51
PP== 漂漂 == 漂亮+漂亮
BTW,你的英文是什么字体?
Arthas
发表于 2003-6-17 23:54:27
mlterm
KLite
发表于 2003-6-18 11:32:50
我想知道这个窗口装饰和gtk主题是怎么弄的。
途径一:安装XD2
途径二:安装XD2的artwork
Ivn
发表于 2003-6-19 15:30:26
http://www.acad.polyu.edu.hk/~lbdennis/hifi/screenshot/Screenshot-Gnome-terminal-16062003.png
:-D
I want to know ,what is the meaning of PP ?
Thank you so much
//
你的中文环境是怎么设置的?很清楚啊!
另外:
期盼你早日整理出你的研究给大家共享一下!
lucida
发表于 2003-6-19 16:29:43
不太难。我也弄出来了
中文用方正准圆_GBK
英文用Courier 10 Pitch
gackt3541
发表于 2003-6-20 00:04:40
Terminal is gnome-terminal
Chinese font : 方正准圆
English font : Bitstream Vera Sans Mono Roman
樱家冢
发表于 2003-6-20 01:48:36
都是牛人啊,看看就知道用了什么字体……我是看不出来滴。
fktpp
发表于 2003-6-20 13:00:09
遇到问题了说 :-(
以前使用gnome-terminal都是使用simsun字体,近来看了帖子修改了字体,却发现像俺那种绑定中英文的方法在其他程序中效果还可以,可是到了gnome-terminal里面中文字体就出不来了,不知哪里错了。 望各位大侠指教 !! :oops::oops:
lucida
发表于 2003-6-20 14:09:04
如果是中文字体名,注意用gedit编辑fonts.conf,保证是utf-8的
另外选字体的时候选择中文字体。
其他应该没什么了,你贴一下你的设置文件?
fktpp
发表于 2003-6-20 19:23:04
培植文件在最上面贴着
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=27993&start=15