Mandrake9完全美化
时间:2007-02-17 来源:PHP爱好者
注:
此文适合稍微有点Linux使用经验的朋友使用,如果你刚接触Linux,就还是老老实实用系统自带的ming吧,也不差的哦!
完全Mandrake 9.0 美化
这是在"connermo"的汉化文章指导下完成.
1. 建立目录: mkdir /usr/X11R6/lib/X11/fonts/TrueType
2.CP windowsXP下的simsun.ttc、tahoma.ttf及tahomabd.ttf到以上目录,将simsun.ttc改为ttf字体.
生成:fonts.dir (这个命令:mkttfdir > 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-4,添加:
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--14-*-*-*-*-*-gb2312.1980-0,
-*-*-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0,*-r-*"
6.为在Gnome2中显simsun字体 ( 这是younker兄的指教)
首先要解决的问题是确定没有使用xft.
修改/etc/profile.d/下面的gtk2.sh文件,把GDK_USE_XFT="1" 改成 GDK_USE_XFT="0"
然后修改/etc/pango/pangox.alias文件,看看它里面的内容你就知道该怎么做了,把你得simsun字体放到每种字体的列表的前面就可以了 .
这是我的:
# 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"
好, 重起Xwindow。
1.在 KDE 控制中心内,观感-->字体内改所的有字体为simsun体。
2.在 KDE 控制中心内,系统-->字体安装程序的反锯齿一栏中选中“使用子象素信信”,然后一定要点击“保存改变”!
(很多人无法在 KDE 控制中心内,系统--> 找不到“字体安装程序”。这是因为Mandrake将它隐藏的原故。打开“魔力菜单-->菜单风格-->选原始菜单”,重起Xwindow就可以见到。但这时就没了Mandrake菜单,大家不要担心,在“终端”打入“menudrake”就可回复原选项。)
重启机器。就可见到漂亮字体了。
Gnome字体,在"字体"选项,选就可以了.
xmms显示中文:
-adobe-helvetica-medium-r-normal-*-*-140-*-*-p-*-iso10646-1,-misc-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0
-misc-simsun-medium-r-normal-*-*-140-*-*-p-*-gbk-0,-misc-simsun-medium-r-normal-*-*-140-*-*-c-*-gb2312.1980-0
两种方方任选一种.
php爱好者站 http://www.phpfans.net 为phper提供一切资讯.
此文适合稍微有点Linux使用经验的朋友使用,如果你刚接触Linux,就还是老老实实用系统自带的ming吧,也不差的哦!
完全Mandrake 9.0 美化
这是在"connermo"的汉化文章指导下完成.
1. 建立目录: mkdir /usr/X11R6/lib/X11/fonts/TrueType
2.CP windowsXP下的simsun.ttc、tahoma.ttf及tahomabd.ttf到以上目录,将simsun.ttc改为ttf字体.
生成:fonts.dir (这个命令:mkttfdir > 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-4,添加:
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--14-*-*-*-*-*-gb2312.1980-0,
-*-*-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0,*-r-*"
6.为在Gnome2中显simsun字体 ( 这是younker兄的指教)
首先要解决的问题是确定没有使用xft.
修改/etc/profile.d/下面的gtk2.sh文件,把GDK_USE_XFT="1" 改成 GDK_USE_XFT="0"
然后修改/etc/pango/pangox.alias文件,看看它里面的内容你就知道该怎么做了,把你得simsun字体放到每种字体的列表的前面就可以了 .
这是我的:
# 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"
好, 重起Xwindow。
1.在 KDE 控制中心内,观感-->字体内改所的有字体为simsun体。
2.在 KDE 控制中心内,系统-->字体安装程序的反锯齿一栏中选中“使用子象素信信”,然后一定要点击“保存改变”!
(很多人无法在 KDE 控制中心内,系统--> 找不到“字体安装程序”。这是因为Mandrake将它隐藏的原故。打开“魔力菜单-->菜单风格-->选原始菜单”,重起Xwindow就可以见到。但这时就没了Mandrake菜单,大家不要担心,在“终端”打入“menudrake”就可回复原选项。)
重启机器。就可见到漂亮字体了。
Gnome字体,在"字体"选项,选就可以了.
xmms显示中文:
-adobe-helvetica-medium-r-normal-*-*-140-*-*-p-*-iso10646-1,-misc-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0
-misc-simsun-medium-r-normal-*-*-140-*-*-p-*-gbk-0,-misc-simsun-medium-r-normal-*-*-140-*-*-c-*-gb2312.1980-0
两种方方任选一种.
php爱好者站 http://www.phpfans.net 为phper提供一切资讯.
相关阅读 更多 +