|
发表于 2003-9-16 13:09:35
|
显示全部楼层
可能你的字体安装不正常,你可以参照下面的方法来美化你的文字
很简单的是Windows的Simsun字体!
1)copy following ttf to /usr/share/fonts/zh_CN/TrueType:
___________________________________________________
arialbd.ttf
arialbi.ttf
ariali.ttf
arial.ttf
ariblk.ttf
courbd.ttf
courbi.ttf
couri.ttf
cour.ttf
micross.ttf
simfang.ttf
simhei.ttf
simkai.ttf
simli.ttf
SimSun18030.ttc
simsun.ttf
tahomabd.ttf
tahoma.ttf
timesbd.ttf
timesbi.ttf
timesi.ttf
times.ttf
2)set_default.font:
___________________________________________________
cd usr/share/fonts/zh_CN
ln -sf TrueType/simsun.ttf default-bold.font
ln -sf TrueType/simsun.ttf default.font
3)make fonts dir:
___________________________________________________
cd TrueType
mkfontdir
mkfontscale
4)edit /etc/X11/XF86Config as following:
___________________________________________________
# Load "freetype" #remark this line
Load "xtt" #add this line
5)edit /etc/X11/fs/config, and /etc/fonts/fonts.conf as attachments;
make a backup for your own config-files, then copy the files:
___________________________________________________
tar zxvf my-locale.tgz
cd my-locale
mv /etc/X11/fs/config /etc/X11/fs/config.org
cp config /etc/X11/fs/config
mv /etc/fonts/fonts.conf /etc/fonts/fonts.conf.org
cp fonts.conf /etc/fonts/fonts.conf
6)add following variable to ~/.bashrc for gtk2.0APP using XFT:
___________________________________________________
export GDK_USE_XFT=1
7)adjust your font-properties as following;
The most important is the first line, set to:
"Times New Roman" or "Courier New"
size: 12
run qtconfig3, and set your default font to:
"Times New Roman" or "Courier New" and save.
size: 12
Note: my desktop 1024 x 768
9)setting fonts for xmms as following:
-monotype-arial-medium-r-normal-*-14-*-*-*-p-*-viscii1.1-1,-misc-simsun-medium-r-normal-*-16-*-*-*-c-*-gbk-0
附件: http://www.linuxsir.com/bbs/attachment.php?s=&postid=228870 |
|