nanogui: Japanese UTF-8 support in FLNX?


Previous by date: 16 Apr 2002 03:50:14 -0000 Re: Japanese UTF-8 support in FLNX?, SangBaek Lee(???)
Next by date: 16 Apr 2002 03:50:14 -0000 Fonts in microwindows., Keegan Prendergast
Previous in thread: 16 Apr 2002 03:50:14 -0000 Re: Japanese UTF-8 support in FLNX?, SangBaek Lee(???)
Next in thread:

Subject: Re: [nanogui] Japanese UTF-8 support in FLNX?
From: "Tanaka Mitsumasa" ####@####.####
Date: 16 Apr 2002 03:50:14 -0000
Message-Id: <F215RArVc4Iu1B6gVs1000098c6@hotmail.com>

Dear Ashuaria,

Thank you for your reply.

>You may fix this code to use GR_TFUTF8 or something else.
>flnx-0.16/src/fl_font.cxx::686 GrText(..., GR_TFASCII);
>You can see this is fixed to GR_TFASCII.

I fixed as follows:
  GrText(fl_window, fl_gc, x, y, (GR_CHAR *)str, n, GR_TFASCII|GR_TFUTF8);

But I found this modification was insufficient.
I think I need to modify Fl_Input_::expand() and expandpos() too
because these functions treat the string data as 1-byte data.

But I cannot modify these functions by myself...
I referred to the source of "Fast Light Toolkit UTF-8".
But I could not understand...

And "Fast Light Toolkit UTF-8" uses the many XLIB functions.

Dis anybody create "Fast Light Toolkit UTF-8 FOR NANO-X"?

Best Regards,
Mitsumasa Tanaka


>From: "SangBaek Lee(???)" ####@####.####
>Reply-To: ####@####.####
>To: Tanaka Mitsumasa ####@####.####
>CC: nano X ####@####.####
>Subject: Re: [nanogui] Japanese UTF-8 support in FLNX?
>Date: Mon, 15 Apr 2002 16:49:30 +0900
>
>Hi, howdy!
>
>Sorry for the late reply. I've been finding this too.
>However, in my opinion, FLNX assumes all text as GR_TFASCII.
>You may fix this code to use GR_TFUTF8 or something else.
>flnx-0.16/src/fl_font.cxx::686 GrText(..., GR_TFASCII);
>You can see this is fixed to GR_TFASCII.
>
>Regards,
>Ashuaria Lee
>
>Tanaka Mitsumasa wrote:
>
> > Dear All,
> >
> > I can see Japanese UTF-8 in my system using Mirowindow + nano-X. # I
> > referred to 2007 of this mailing list.
> >
> > And I can see Japanese EUC using Microwindows + nano-X + FLNX.
> > # I referred to 5727 of this mailing list.
> >
> > But I cannot see Japanese UTF-8 using Microwindows + nano-X + FLNX.
> > So I think FLNX does not support Japanese UTF-8.
> > If FLNX supports, please teach me how to see it.
> > If FLNX does not supports, when does FLNX support it?
> >
> > my config files are as follows:
> > microwindows-0.89pre8.tar.gz
> > freetype-1.3.1.tar.gz
> > flnx-0.16.tar.gz
> > eucjp.tgz (this file is attached in 5727)
> >
> > Best Regards,
> >
> > Mitsumasa Tanaka
> >
> >
> > _________________________________________________________________
> > 簡単に出来る楽しいアルバム。友達に渡すのもメールで簡単に!
> > http://photos.msn.co.jp/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####
> >
> >
> > .
> >
>
>
>


_________________________________________________________________
簡単に出来る楽しいアルバム。友達に渡すのもメールで簡単に!
http://photos.msn.co.jp/


Previous by date: 16 Apr 2002 03:50:14 -0000 Re: Japanese UTF-8 support in FLNX?, SangBaek Lee(???)
Next by date: 16 Apr 2002 03:50:14 -0000 Fonts in microwindows., Keegan Prendergast
Previous in thread: 16 Apr 2002 03:50:14 -0000 Re: Japanese UTF-8 support in FLNX?, SangBaek Lee(???)
Next in thread:


Powered by ezmlm-browse 0.20.