Need locale dependent gtkrc




Hello,

With the Japanized ( and maybe other multi-byte ) message file ( ja.po ),
We need another gtkrc in gnome-libs to specify the corrent fontset.
Also, it is important for the official Gnome distribution to have such
various gtkrc natively.

How should I do to do this?

Thanks.
--------------
Yukihiro Nakai

a sample gtkrc for ja.po is this:
=================================
# $(datadir)/gtkrc

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

  style "GnomeScores_Logo_style"
  {
    #font = "-freefont-garamond-*-*-*-*-30-170-*-*-*-*-iso8859-1"
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-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"
  {
    #font = "-adobe-helvetica-bold-r-normal-*-20-*-*-*-*-*-*-*"
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"
  }

  style "GnomeAbout_Copyright_style"
  {
    #font = "-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*"
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"
  }

  style "GnomeAbout_Author_style"
  {
    #font = "-adobe-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"
  }

  style "GnomeAbout_Names_style"
  {
    #font = "-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*"
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"
  }

  style "GnomeAbout_Comments_style"
  {
    #font = "-adobe-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*"
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"
  }

  style "default"
  {
    fontset = "-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-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_class "*" style "default"

=================================



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