gtk with zh_TW.Big5



Hi,
   I got some trouble with the zh_TW.Big5 language setting.

I got the zh_TW.Big5 Patch from gtk.org, and installed it. 
Now I set LC_ALL to zh_TW.Big5 and parts of GTK are translated.
But it still uses ISO-8859-1 encoding, so that you only see some
garbage text.

(I'm using some updated redhat 5.2 english system, intel platfrom,
XFree 3.3.3.1)

I edited my .gtkrc and added the following :

style "Chinese"
{
 
fontset="-dynalab-ming-medium-r-normal-*-24-*-*-*-*-*-big5-0,-adobe-times-medium-r-normal--14-*-*-*-*-*-*-*"

}

widget_class "*" style "Chinese"


When I start testgtk now, it runs noteably slower (-> the font gets
loaded, its about 1 mb gziped), but there is still garbage on the
dialogs.

from the zh_TW.Big5.po :
"Content-Type: text/plain; charset=big5\n"

I did install a X11 locale from some .tw server :

ls -l /usr/X11R6/lib/X11/locale/zh_TW.Big5/
total 2
-rw-r--r--   1 root     root         1163 Feb 18 10:08 XLC_LOCALE

But that did not help, either.

xlsfonts | grep big5 
-dynalab-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5-0
-dynalab-ming-medium-r-normal-fantizi-24-240-75-75-c-240-big5-0
-hku-fixed-medium-r-normal--0-0-72-72-c-0-big5.et-0
-hku-fixed-medium-r-normal--16-160-72-72-c-160-big5.et-0
-kc-kai-medium-r-normal-fantizi-0-0-75-75-c-0-big5-0
-kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5-0
-kc-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5-0
-kc-ming-medium-r-normal-fantizi-15-150-75-75-c-160-big5-0
-kc-ming-medium-r-normal-fantizi-24-240-75-75-c-240-big5-0
-kc-song-medium-r-normal-jiantizi-0-0-75-75-c-0-big5-0
-kc-song-medium-r-normal-jiantizi-15-150-75-75-c-160-big5-0
-kc-song-medium-r-normal-jiantizi-24-240-75-75-c-240-big5-0
-leisher-li-medium-r-normal-fantizi-0-0-75-75-c-0-big5-0
-leisher-li-medium-r-normal-fantizi-24-240-75-75-c-240-big5-0
-uw-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5-0
-uw-ming-medium-r-normal-fantizi-16-160-75-75-c-160-big5-0

What am I missing ?

TIA,
   Michael Glauche



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