分享
 
 
 

我的redhat8.0完全桌面设置

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

一,美化: (此过程参照了linuxfans.org中的多篇美化文章和自己重装多次机器的经验)

1. 建立目录: mkdir /usr/X11R6/lib/X11/fonts/TrueType

2.CP windows下的simsun.ttc、tahoma.ttf及tahomabd.ttf到以上目录,将simsun.ttc改为ttf字体.

生成:fonts.dir (这个命令:mkfontdir > fonts.dir)修改使其与如下相似:

24

simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0

ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0

ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0

tahoma.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1

ai=0.3:tahoma.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1

tahomabd.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1

ai=0.3:tahomabd.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1

simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0

ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-gbk-0

ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-gbk-0

ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-gbk-0

simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15

ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15

ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15

ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15

simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-15

ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-15

ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-15

ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-15

simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1

ai=0.3:simsun.ttf -misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1

ds=y:simsun.ttf -misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1

ds=y:ai=0.3:simsun.ttf -misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1

然后 cp fonts.dir fonts.scale,或者 cat fonts.dir > fonts.scale

3.修改/etc/X11/XF86Config,添加:

FontPath "/usr/X11R6/lib/X11/fonts/TrueType"注意要添加在unix/:-1这一行前面。

再在module段中添加:

Load "xtt"

(注意注释掉"load type1"和"load freetype"模块.

相这样:

#load type1

#load freetype

4.然后拷贝编码文件 encodings.dir 到目录里来.

cp /usr/X11R6/lib/X11/fonts/encodings/encodings.dir /usr/X11R6/lib/X11/fonts/TrueType

5.修改/etc/gtk/gtkrc.zh_CN

把fontset内改为 "-misc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,

-*-*-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*"

6.为在Gnome2中显simsun字体;

首先要解决的问题是确定没有使用xft.

修改/etc/profile.d/下面的gtk2.sh文件,把GDK_USE_XFT="1" 改成 GDK_USE_XFT="0"

然后修改/etc/pango/pangox.alias文件,看看它里面的内容你就知道该怎么做了,把你得simsun字体放到每种字体的列表的前面就可以了 .

(注意:在修改时每行的后面不要有空格!)

这是我的:

[code]

# File defining aliases of PangoFontDescription to X font set

#

# family style variant weight stretch XLFD

sans normal normal normal normal

"-misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1,

-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*,

-*-gulim-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

sans italic normal normal normal

"-misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1,

-*-helvetica-medium-o-normal--*-*-*-*-*-*-*-*,

-*-gulim-medium-o-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

sans normal normal bold normal

"-misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1,

-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*,

-*-gulim-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

sans italic normal bold normal

"-misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1,

-*-helvetica-bold-o-normal--*-*-*-*-*-*-*-*,

-*-gulim-bold-o-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

serif normal normal normal normal

"-misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1,

-*-times-medium-r-normal--*-*-*-*-*-*-*-*,

-*-batang-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

serif italic normal normal normal

"-misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1,

-*-times-medium-i-normal--*-*-*-*-*-*-*-*,

-*-batang-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

serif normal normal bold normal

"-misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1,

-*-times-bold-r-normal--*-*-*-*-*-*-*-*,

-*-batang-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

serif italic normal bold normal

"-misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1,

-*-times-bold-i-normal--*-*-*-*-*-*-*-*,

-*-batang-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

monospace normal normal normal normal

"-misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-*-dotum-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

monospace italic normal normal normal

"-misc-SimSun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-medium-i-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-medium-i-normal--0-0-0-0-c-0-iso10646-1,

-*-fixed-medium-i-normal--*-*-*-*-*-*-*-*,

-*-dotum-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

monospace normal normal bold normal

"-misc-SimSun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-bold-r-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-bold-r-normal--0-0-0-0-c-0-iso10646-1,

-*-fixed-bold-r-normal--*-*-*-*-*-*-*-*,

-*-dotum-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

monospace italic normal bold normal

"-misc-SimSun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-1,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-gbk-0,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-fcd8859-15,

-misc-SimSun-bold-i-normal--0-0-0-0-p-0-iso8859-15,

-misc-SimSun-bold-i-normal--0-0-0-0-c-0-iso10646-1,

-*-fixed-bold-i-normal--*-*-*-*-*-*-*-*,

-*-dotum-bold-r-normal--*-*-*-*-*-*-ksc5601.1987-0,

-*-clearlyu-medium-r-normal--*-*-*-*-*-*-iso10646-1,

-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,

-kaist-iyagi-bold-r-normal--*-*-*-*-*-*-johab-1,

-*-song ti-medium-r-normal--*-*-*-*-*-*-*-*,

-freetype-unitamil-medium-r-normal--*-*-*-*-*-*-iso10646-tam,

-*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev,

-*-gujarati-medium-r-normal--*-*-*-*-*-*-iso10646-guj,

-*-gurmukhi-medium-r-normal--*-*-*-*-*-*-iso10646-gur,

-*-bengali-medium-r-normal--*-*-*-*-*-*-iso10646-bng,

-*-kannada-medium-r-normal--*-*-*-*-*-*-iso10646-kan,

-*-burmese-medium-r-normal--*-*-*-*-*-*-iso10646-brm,

-*-buginese-medium-r-normal--*-*-*-*-*-*-iso10646-bgn,

-*-oriya-medium-r-normal--*-*-*-*-*-*-iso10646-ori,

-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0"

[/code/

7.修改/etc/fonts/fonts.conf文件。

这是我的:

[code]

<?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 fonts@xfree86.org so that future releases can include

such changes.

Keith Packard

-->

<!-- Font directory list configured on Mon Sep 9 15:24:30 EDT 2002 -->

<dir>/usr/X11R6/lib/X11/fonts/TrueType</dir>

<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>

<dir>/usr/share/fonts</dir>

<dir>~/.fonts</dir>

<!--

Enable sub-pixel rendering

<match target="font">

<edit name="rgba" mode="assign"><const>rgb</const></edit>

</match>

-->

<match target="font">

<test qual="any" name="pixelsize" compare="less"><double>17</double></test>

<edit name="antialias" mode="assign"><bool>false</bool></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>

<!--

Mark common families with their generics so we'll get

something reasonable

-->

<!--

Serif faces

-->

<alias>

<family>Tahoma</family>

<family>Simsun</family>

<family>Times</family>

<family>Times New Roman</family>

<family>Nimbus Roman No9 L</family>

<family>Luxi Serif</family>

<family>Kochi Mincho</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Batang</family>

<default><family>serif</family></default>

</alias>

<!--

Sans-serif faces

-->

<alias>

<family>Tahoma</family>

<family>SimSun</family>

<family>Helvetica</family>

<family>Arial</family>

<family>Verdana</family>

<family>Nimbus Sans L</family>

<family>Luxi Sans</family>

<family>Kochi Gothic</family>

<family>AR PL KaitiM GB</family>

<family>AR PL KaitiM Big5</family>

<family>Baekmuk Dotum</family>

<default><family>sans-serif</family></default>

</alias>

<!--

Monospace faces

-->

<alias>

<family>Tahoma</family>

<family>NSimSun</family>

<family>Courier</family>

<family>Courier New</family>

<family>Andale Mono</family>

<family>Luxi Mono</family>

<family>Nimbus Mono L</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>Tahoma</family>

<family>Simsun</family>

<family>Nimbus Roman No9 L</family>

<family>Luxi Serif</family>

<family>Kochi Mincho</family>

<family>ZYSong18030</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Batang</family>

<family>Times New Roman</family>

<family>Times</family>

</prefer>

</alias>

<alias>

<family>sans-serif</family>

<prefer>

<family>Tahoma</family>

<family>SimSun</family>

<family>Luxi Sans</family>

<family>Nimbus Sans L</family>

<family>Helvetica</family>

<family>Kochi Gothic</family>

<family>ZYSong18030</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Gulim</family>

<family>Verdana</family>

<family>Arial</family>

</prefer>

</alias>

<alias>

<family>monospace</family>

<prefer>

<family>Tahoma</family>

<family>Simsun</family>

<family>Luxi Mono</family>

<family>Nimbus Mono L</family>

<family>Kochi Gothic</family>

<family>ZYSong18030</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Gulim</family>

<family>Andale Mono</family>

<family>Courier New</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

Red Hat 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>true</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>

<!-- 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>0x20</int><!-- space -->

<int>0xa0</int><!-- nsbp -->

<int>0x2000</int><!-- general punctuation spaces -->

<int>0x2001</int>

<int>0x2002</int>

<int>0x2003</int>

<int>0x2004</int>

<int>0x2005</int>

<int>0x2005</int>

<int>0x2006</int>

<int>0x2007</int>

<int>0x2008</int>

<int>0x2009</int>

<int>0x200a</int>

<int>0x200b</int>

<int>0x3000</int><!-- CJK space -->

</blank>

<!--

Rescan configuration every 30 seconds when FcFontSetList is called

-->

<rescan>

<int>30</int>

</rescan>

</config>

</fontconfig>

[/code]

8.安装freetype引擎,好象rh8.0自己也有这个,但是不管用:

rpm -ivh --force freetype-2.1.2-6.i386.rpm

rpm -ivh --force freetype-utils-2.1.2-6.i386.rpm

下载地址:

freetype2 http://www.linuxfans.org/nuke/uploads/freetype-2.1.2-6.i386.rpm

http://www.linuxfans.org/nuke/uploads/freetype-utils-2.1.2-6.i386.rpm

(好, 重起Xwindow,最好是把系统都重新启动一下,反正我每次都是这样子的!)

9. 在gnome下将首选项->字体里都选Tahoma字体, 除了终端字体选Simsun,如图:

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有