[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Missing character set



River Y.Liu:
What chinese font do you use? Can you post your gtk config
file(/etc/gtk/gtkrc.zh_CN)?

As you can see below, the gtkrc config file is basically the same with the error message.
---->8----
style "gtk-default-zh-cn" {
       fontset = "-adobe-times-medium-r-normal--16-*-*-*-*-*-*,\
		  -default-song-medium-r-normal--16-*-*-*-*-*-*-*,\
		  *-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
---->8----
If I launch the gtk applications from the panel, they cannot handle the Chinese correctly. However, if they are launched from the console, they can correctly display Chinese, including menu items, though they sometimes spit the error messages as in my last post.

I can verify that these fonts exist with "xlsfonts".

Below is error message found in ".xsession-errors":

----8<----
The font "-adobe-times-medium-r-normal--16-*-*-*-*-*-*,
		  -default-song-medium-r-normal--16-*-*-*-*-*-*-*,
		  *-r-*" does not support all the required character sets for
		  the current
locale "zh_CN"
   (Missing character set "ISO8859-1")
   (Missing character set "GBK-0")
----8<----



Reply to: