[求助]XMMS:一半中文,一半乱码
http://imgphoto.21cn.com/albums/photos/1/2/7/1270745/1085289534.png/etc/gtk/gtkrc.zh_CN 内容如下:
# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <[email protected]>
#
style "gtk-default-zh-cn" {
fontset = "-misc-SimSun-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
/etc/gtk/gtkrc.zh_CN.utf8 内容如下:
# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <[email protected]>
#
style "gtk-default-zh-cn-utf8" {
fontset = "-misc-SimSun-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn-utf8"
/etc/gtk-2.0/gtkrc 内容如下:
gtk-theme-name = "Bluecurve"
style "user-font"
{
font_name="simsun,simsun 9"
}
widget_class "*" style "user-font"
/etc/sysconfig/i18n 内容如下:
LANG="zh_CN"
SUPPORTED="zh_CN.GBK:zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
另外XMMS里面字与字之间的空隙特别大,搞得设置窗口也很长. 我用的就是wxz兄修改过的字体,其他的什么也没用,请大家帮我看看是怎么回事.多谢了! fontset = "-misc-SimSun-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
不要把中文字体放在前面
把英文字体放在前面
另外,你这个字体设置是抄别人的还是自己系统的?一定要自己系统的哦
哦,你不能只设置.gtkrc.zh_CN,还要设置xmms 我安装的是wxz8修改过的Simsun,wxz8的帖子里说应该这样设置gtkrc.zh_CN的,你说不要把中文字体放在前面,那应该是什么样?
我修改xmms了,你能看到帖图么? The spacing of the non-chinese characters in both your xmms configuration menu and song list is too wide. The problem is that you put the SimSun font in front of non-chinese character font. See my post here http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=24271&start=15
If you experience that the spacing between the non-chinese characters is too wide, add "*-medium-r-*-*-*-120-*" IN FRONT OF SimSun font in /etc/gtk/gtkrc.zh_CN(.utf8) as well as xmms' font. No need to change fonts.conf at all for this problem.
Also why does your SimSun have iso8859 encoding and another font set (non-chinese) have gb2312.1980 encoding? SimSun should use gb2312.1980 but non-chinese character should not. /etc/gtk/gtkrc.zh_CN文件是不是要为gbk编码多加一项,你从命令行启动xmms,看看他的错误信息 谢谢alexxl,字之间的空白已经没有了。
不过打开文件时的浏览窗口里的字还是乱码(如下图),不知如何解决
to gybei:从命令行启动xmms,没有错误信息。 xmms对话框自然是在/etc/gtk/下设置.
list在~/.xmms/下面. xmms对话框自然是在/etc/gtk/下设置.
list在~/.xmms/下面.
能说的详细点么? 好了,好了,终于好了,原来是要在mount硬盘时加个“iocharset=cp936”的参数。
页:
[1]