Re: A problem with zh_CN.GB2312 locale



Hi, I upgraded gtk+ to 1.2.10, but it did not help. My
/usr/share/gtkrc.zh_CN file is included in the end of this mail (my .gtkrc
is empty).

I think in Gnome, the default English font is something like
-adobe-courier-*-iso8859-1, is this causing the problem? How can I change
that?

Thanks!

# $(datadir)/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 <srtxg@chanae.alphanet.ch>

style "GnomeScores_CurrentPlayer_style"
{
  fg[NORMAL] = {1.0, 0.0, 0.0}
}

style "GnomeScores_Logo_style"
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
  fg[NORMAL] = {0.0, 0.0, 1.0}
}

style "GnomeAbout_DrawingArea_style"
{
  bg[NORMAL] = {1.0, 1.0, 1.0}
}

style "GnomeAbout_Title_style"
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Copyright_style"
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Author_style"
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Names_style"
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Comments_style"
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeHRef_Label_style"
{
  fg[NORMAL] = { 0.0, 0.0, 1.0 }
  fg[PRELIGHT] = { 0.0, 0.0, 1.0 }
  fg[INSENSITIVE] = { 0.5, 0.5, 1.0 }
  fg[ACTIVE] = { 1.0, 0.0, 0.0 }
}

style "GnomeGuru_PageTitle_style" 
{
  fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}


widget "*GnomeScores*.CurrentPlayer" style
"GnomeScores_CurrentPlayer_style"
widget "*GnomeScores*.Logo" style "GnomeScores_Logo_style"
widget "*GnomeAbout*.DrawingArea" style "GnomeAbout_DrawingArea_style"
widget "*GnomeAbout*.Author" style "GnomeAbout_Author_style"
widget "*GnomeAbout*.Comments" style "GnomeAbout_Comments_style"
widget "*GnomeAbout*.Copyright" style "GnomeAbout_Copyright_style"
widget "*GnomeAbout*.Names" style "GnomeAbout_Names_style"
widget "*GnomeAbout*.Title" style "GnomeAbout_Title_style"
widget "*GnomeHRef.GtkLabel" style "GnomeHRef_Label_style"
widget "*GnomeGuru*.PageTitle" style "GnomeGuru_PageTitle_style"


On Mon, 7 May 2001, R.I.P. Deaddog wrote:

> > Hi, I have a problem using Gnome under the zh_CN.GB2312 locale. The
> > problem is: the Chinese menu items, button texts, etc. are displayed
> > correctly, but all the English menu items, button texts, etc. are
> > displayed with a wrong width. That is, the tail part of these texts are
> > not displayed. Also, when I put English letters into an entry, the cursor
> > will not appear in the correct place.
> >
> > It seems that the width of English characters/fonts are not calculated
> > correctly.
> 
> It helps if you can post the content of your .gtkrc and system-wide
> gtkrc.zh_CN .........
> I've seen the same problem before (and other languages with multi-byte
> char). After upgrading to 1.2.10 the problem is gone. See if it helps.
> 
> Abel Cheung
> 
> 





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