Re: Traditional Chinese under Red Hat 7.0/Gnome 1.2



> I get
> > - 'Gdk-WARNING **: locale not supported by Xlib, locale set to C'
> >    Your glibc know zh_TW.big5 locale, but you Xlib doesn't know it.
> >    Install zh_TW.big5 locale file for X.
> So how does one install the locale file for X?

XFree86 with RHL7 have zh_TW.big5 locales but it doesn't install them
by default. I append them.

 % tar xzvf z.tar.gz -C /usr/X11R6/lib/X11/locale/

And set LANG=zh_TW.big5 (not zh_TW.Big5) and try again.
You still see the above Gdk-WARNING?

> My system is a fresh Red Hat 7 (RH7) install (plus security RPMS).
> 
> - Note that I do have Chinese fonts for X (unless xlsfonts is lying).
> However, I suspect the set I have aren't very good. Which chinese font
> would you recommend and where could I get a copy?

You can use any big5 fonts. Get from CLE. (You know that?)

> - I also have the file (default from the RH7 install)
> /etc/gtkrc.zh_TW.Big5

Is that /etc/gtk/gtkrc.zh_TW.Big5 ?
Copy it to /etc/gtk/gtkrc.zh_TW .

> - The directory /usr/lib/X11/locale has three files compose.dir,
> locale.alias, locale.dir from the standard RH7 install.

You don't need to touch them. Use default.

> - There is also a directory called /usr/lib/X11/locale/zh_TW.big5 with a
> Compose file inside. However, there is no XLC_LOCALE file in that
> directory, unlike zh.TW.

That's the XFree86 bug. Extarce the file I attached.

> - The files may have incorrect information in them - I dunno - they are
> from the standard install and I haven't changed them.

We are also sure the gnome-terminal can handle the correct CJK multibyte
strings. But it's the RHL7J's feature, not RHL7's.

---
Nakai

z.tar.gz



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