Re: Japanese Display for gtk+-1.2.9



Hello suzuki,

Thanks for your help, enabling -DX_LOCALE in our gtk installation enables gtk to display japanese on its widgets. I found out also that when doing cross compiling gtk-1.2, it disables X_LOCALE, so enabling it to the configure file is what I did. Since it can paste japanese text on gtk text entry widget, gtk buttons also can also display japanese text. Your ideas are really big help into this problem. Thank you.

The only problem we've got here is that it will not convert english text to japanese text like what we see at the testfont selector.

Currently, we found out that our system doesn't have gettext. Is there any relation between the conversion of english text to japanese text on its widgets and the GNU gettext???


On 11/4/05, mpsuzuki hiroshima-u ac jp <mpsuzuki hiroshima-u ac jp > wrote:
On Fri, 4 Nov 2005 16:22:31 +0800
Xyber Blue < xyberblue gmail com> wrote:

>There's another thing that I've noticed...
>
>When Im trying to paste japanese characters to textbox of fontselector using
>this compiled gtk with -DX_LOCALE enabled and X with -DX_LOCALE enabled, the
>japanese characters is displayed already on its textbox.
>
>But again, the font selector widget does not convert japanese text from
>english text. It just retain the english text not just like before that no
>text is being displayed....

In strace output, X11 reads its locale database for C:
/usr/X11R6/lib/X11/locale/C/XLC_LOCALE, instead of
that for ja_JP: /usr/X11R6/lib/X11/locale/ja/XLC_LOCALE.
So there's no possibility of X11 to handle Japanese
correctly.



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