The locale processing of Xorg and XFree86 is not the same. If you use gtkrc. UTF-8, you must specify multiple fonts such as China, Japan, and Korea in a certain sequence. Otherwise, there will be a problem with Chinese characters.
In this way, using gtkrc. zh_CN.utf-8 will be simpler.
If the file/etc/gtk/gtkrc. zh_CN exists
$sudo cp /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8
You can.
The XMMS font can be set:
-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*
If it does not exist, directly create
$sudo gedit /etc/gtk/gtkrc.zh_CN.utf-8
File Content:
# $(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 <pablo@mandrakesoft.com>
#
style "gtk-default-zh-cn" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,/
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
If you have installed the ttf-arphic-uming package, you can change it to the following to display the beautiful 12-digit font.
# $(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 <pablo@mandrakesoft.com>
#
style "gtk-default-zh-cn" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-uming-*-*-*--12-*-*-*-*-*-gb2312.1980-*,/
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"