Date: Sat, 31 Jan 2004 16:03:06 +0800 From: "zeng" Subject: Re: [nanogui] about chinese font i found the right place. TextOut only displayed asci char, when i used MwExtTextOut with MWTF_DBCS_EUUCN flag, simple Chinese char displayed correctly. config file sets: HAVE_HZK_SUPPORT N #if Y, files hzx12 & asc12 will be loaded HAVE_BIG5_SUPPORT N HAVE_GB2312_SUPPORT Y ----- Original Message ----- From: "¤ý¶àë~" To: "'zeng'" ; Cc: Sent: Saturday, January 31, 2004 12:19 PM Subject: RE: [nanogui] about chinese font Hello: I used a nano-x base API - TinyWidget A Chinese character length is two bytes, but an English character length is one byte. So we must rewrite the function that is showing the Chinese font. Is the API you used having the same problem? Best regards, Szu-Hsuan Wang -----Original Message----- From: zeng [mailto:zeng_pc@163.com] Sent: Saturday, January 31, 2004 10:05 AM To: ¤ý¶àë~; jonathan.foster@philips.com Cc: nanogui@linuxhacker.org Subject: Re: [nanogui] about chinese font > Hello, > Try the configuration listed below: > HAVE_HZK_SUPPORT Y > HAVE_BIG5_SUPPORT Y > HAVE_GB2312_SUPPORT N. it made no difference, chars neither in traditionla form nor in simple form could not be displayed correctly. i re-downloaded the source from www.microwindows.org, once again, failed to display chinese font. :( > > ----- Original Message ----- > From: "zeng" > To: > Cc: > Sent: Friday, January 30, 2004 6:10 PM > Subject: Re: [nanogui] about chinese font > > > > > Which font driver are you using? Which font? > > > > i found the files loaded were fonts/chinese/hzx12 and > fonts/chinese/asc12. > > > > > What are you doing to try and display Chinese text? Exactly what > happens? > > > > well, i tried to create a editbox, whose initial text was "§A¦n" in > simple chinese, > > by the way, i used microwindows' api but not nanox api, while it just > displayed two > > traditional chinese chars who had no matter with "§A¦n". my config file > set > > HAVE_HZK_SUPPORT Y, HAVE_BIG5_SUPPORT N and > > HAVE_GB2312_SUPPORT N. > > > > any more suggestions? thanks ahead. > > > > regards. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org > For additional commands, e-mail: nanogui-help@linuxhacker.org >