找回密码
 注册
查看: 581|回复: 3

我的xmms菜单及其他的都显示乱码!

[复制链接]
发表于 2003-9-16 08:19:26 | 显示全部楼层 |阅读模式
我在安装完了,该版的字体美化包之后虽然大部分的字体都变的漂亮了,但是我的xmms确不正常了。列表和菜单都不能正常显示了。全是乱码。见图。向高手求救!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 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
回复

使用道具 举报

发表于 2003-9-20 01:19:19 | 显示全部楼层
把copy字体的路径加入/etc/X11/XF86Config,如:

    FontPath   "/usr/share/fonts"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    ......

Restart X
回复

使用道具 举报

发表于 2003-9-20 11:59:58 | 显示全部楼层
添加以下内容到 ~/.gtkrc 末尾:
[code:1]style "gtk-default" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
           -*-simsun-medium-r-normal--12-*-*-*-*-*-*-*,*-r-*"
}
class "GtkWidget" style "gtk-default"[/code:1]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-7-21 20:31 , Processed in 0.040466 second(s), 17 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表