nanogui: RE:Re: [nanogui] Chinese Support in FLTK?


Previous by date: 21 Jun 2001 16:05:19 -0000 Re: Chinese Support in FLTK?, Jordan Crouse
Next by date: 21 Jun 2001 16:05:19 -0000 Re: about function in winsbar, daniel
Previous in thread: 21 Jun 2001 16:05:19 -0000 Re: RE:Re: [nanogui] Chinese Support in FLTK?, Jordan Crouse
Next in thread:

Subject: RE:Re: [nanogui] Chinese Support in FLTK?
From: "=?big5?B?c2Vfbno=?=" ####@####.####
Date: 21 Jun 2001 16:05:19 -0000
Message-Id: <20010622000806.21998.qmail@hk.sina.com.hk>

Mmm...yes...so may be we can just modify some parts of FLTK is okay.
As i am not so familiar with coding, i just follow the codes in nano X 
(like BIG5/GB coding ), so 
.i have added few lines..in the fl_font.cxx, and the alignment of
button/menubars...for 2bytes display is more accurate now....and if i have time...i will con't to modify the input/output widget may be....but for keyevent, i have tested also, when i type chinese to it...it can only receive one byte...we need 
to modify also, but it seems that this problem is due to the event linking between
NanoX API and the FLTK API? i still haven't found where should be changed...

>I am sure that X is alot worse at handing this stuff than we are, which is 
>probably why they are using XUTF8libs in the other version.  They just took 
>FLTK and added a helper library on to it.
>
>We can modify the widgets to handle multiple bytes, and if the fltk-utf8 code 
>can't help us there, then we should do it on our own.  
>
>Jordan
>
>On Thursday 21 June 2001 00:03, se_nz mentioned:
>> >Thats a good idea.  I would suggest taking the two byte operations from
>> >fltk-utf8 and putting them into the current FLNX tree.   Put #ifdef UTF8
>> >and #endif around all the code you add and send in your patch to us.
>>
>> 	I think it is not okay to just taking the fltk-utf8 codes to the fltk
>> naonox port, since it uses the XUTF8libs?glib2.2c?as pointed out by the 
>> Mr. Lee from previous news? so i think can we just modify the Label and the
>> input widget to let it display and handle 2bytes correctly?
>>
>> 	it seems that even in the new flnx,
>> 	although it can display chinese in button, the calculation of fonts 'width
>> is incorrect?
>>
>>
>>
>>
>> ==================================================================
>> 新浪免費電子信箱  http://sinamail.sina.com.hk
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ####@####.####
>> For additional commands, e-mail: ####@####.####
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
==================================================================
新浪免費電子信箱  http://sinamail.sina.com.hk




Previous by date: 21 Jun 2001 16:05:19 -0000 Re: Chinese Support in FLTK?, Jordan Crouse
Next by date: 21 Jun 2001 16:05:19 -0000 Re: about function in winsbar, daniel
Previous in thread: 21 Jun 2001 16:05:19 -0000 Re: RE:Re: [nanogui] Chinese Support in FLTK?, Jordan Crouse
Next in thread:


Powered by ezmlm-browse 0.20.