nanogui: Thread: how to use chinese hzk ?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: how to use chinese hzk ?
From: "daniel" ####@####.####
Date: 29 Jun 2001 08:42:26 -0000
Message-Id: <001401c10077$5b17d000$0300c0a8@biji>

I download chinses hzk and install it to fonts/chinese
modify config file to enable cinese hzk and gb2312.
but after build system, when i run demo program it 
show me warning info that can not create chinese font.
i found i have to modify chinese fonts dir to full dirctory
, such as /microwin/src/fonts/chinese in config file before
build system.

However i have run some program which made by others, those
program also display chinese font , and they can run without
font support, seem that font lib has been compile in microwin's
lib with source code.

How can i do this ?

Regards

Daniel Wang

Subject: Re: [nanogui] how to use chinese hzk ?
From: Krist ####@####.####
Date: 29 Jun 2001 09:28:23 -0000
Message-Id:

>I download chinses hzk and install it to fonts/chinese
>modify config file to enable cinese hzk and gb2312.
>but after build system, when i run demo program it 
>show me warning info that can not create chinese font.
>i found i have to modify chinese fonts dir to full dirctory
>, such as /microwin/src/fonts/chinese in config file before
>build system.
change it to "fonts/chinese" and enable GB2312, that's ok!
btw: be sure you have unpacked the font package (microwindows-fonts-chinese-0.89pre2.tar.gz).
>
>However i have run some program which made by others, those
>program also display chinese font , and they can run without
>font support, seem that font lib has been compile in microwin's
>lib with source code.
there are some built-in english fonts. 
>
>How can i do this ?
>
>Regards
>
>Daniel Wang


            Krist
            ####@####.####

Subject: Re: [nanogui] how to use chinese hzk ?
From: "daniel" ####@####.####
Date: 29 Jun 2001 09:48:11 -0000
Message-Id: <001101c10080$87a69620$0300c0a8@biji>

yeah, i am sure i do as u told me.
chanfe back to fonts/chinese
enable gb2312
problem occur again, can not create chinese font!

and my config is
microwindows_0.89pre7
microwindows-fonts-chinese-0.89pre2
microwindows-fonts-truetype-0.89pre2

I found i alway meet those strange problem , such as i can not use
enablescrollbar function in my problem althought i have link libmwin.a;
have chinese font support but when running problem error;
return key code error when press backspace and direction key ( not move
caret but output char or quit program instead)

Why! :(

and i have test on serveal pc .
include redhat 6.x or 7.x

somebody help me!


Regards

Daniel Wang
----- Original Message ----- 
From: "Krist" ####@####.####
To: ####@####.####
Sent: Friday, June 29, 2001 5:00 PM
Subject: Re: [nanogui] how to use chinese hzk ?


> >I download chinses hzk and install it to fonts/chinese
> >modify config file to enable cinese hzk and gb2312.
> >but after build system, when i run demo program it 
> >show me warning info that can not create chinese font.
> >i found i have to modify chinese fonts dir to full dirctory
> >, such as /microwin/src/fonts/chinese in config file before
> >build system.
> change it to "fonts/chinese" and enable GB2312, that's ok!
> btw: be sure you have unpacked the font package (microwindows-fonts-chinese-0.89pre2.tar.gz).
> >
> >However i have run some program which made by others, those
> >program also display chinese font , and they can run without
> >font support, seem that font lib has been compile in microwin's
> >lib with source code.
> there are some built-in english fonts. 
> >
> >How can i do this ?
> >
> >Regards
> >
> >Daniel Wang
> 
> 
>             Krist
>             ####@####.####
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 
Subject: Re: Re: [nanogui] how to use chinese hzk ?
From: Krist ####@####.####
Date: 29 Jun 2001 10:56:59 -0000
Message-Id:

oh, i see. maybe you should disable "HAVE_HZK_SUPPORT = N" which is used to load font from file.
also take a look at the sources in winlib directory, there are many macros such as "#define BIG5", and turn it off if you do want to use gb2312.
 
>yeah, i am sure i do as u told me.
>chanfe back to fonts/chinese
>enable gb2312
>problem occur again, can not create chinese font!
>
>and my config is
>microwindows_0.89pre7
>microwindows-fonts-chinese-0.89pre2
>microwindows-fonts-truetype-0.89pre2
>
>I found i alway meet those strange problem , such as i can not use
>enablescrollbar function in my problem althought i have link libmwin.a;
>have chinese font support but when running problem error;
>return key code error when press backspace and direction key ( not move
>caret but output char or quit program instead)
i think you mean the edit control.
to make it run well, a little more work should be done. 
first, make sure you enable SCANKBD in config. 
second, add codes in winevent.c, to send WM_CHAR & WM_KEYDOWN event in scancode. (Greg, can i commit a patch?) 
third, examine the WM_KEYDOWN event process in edit.c. 
>
>Why! :(
>
>and i have test on serveal pc .
>include redhat 6.x or 7.x
>
            Krist
            ####@####.####

Subject: 答复: [nanogui] how to use chinese hzk ?
From: ####@####.####
Date: 2 Jul 2001 01:43:15 -0000
Message-Id: <OF9658D5C0.E80C192F-ON48256A7D.0009A9E6@legend.com.cn>

Font suport has been linked into nano-X(can be found in microwin/src/bin),
Chinese also.


                                                                                            
                    "daniel"                                                                
                    <danielwang@bi        收件人:     ####@####.####                
                    jitec.com>            抄送:  ####@####.####                 
                                          主题:  [nanogui] how to use chinese hzk ?        
                    01-06-29 16:41                                                          
                                                                                            
                                                                                            



I download chinses hzk and install it to fonts/chinese
modify config file to enable cinese hzk and gb2312.
but after build system, when i run demo program it
show me warning info that can not create chinese font.
i found i have to modify chinese fonts dir to full dirctory
, such as /microwin/src/fonts/chinese in config file before
build system.

However i have run some program which made by others, those
program also display chinese font , and they can run without
font support, seem that font lib has been compile in microwin's
lib with source code.

How can i do this ?

Regards

Daniel Wang



[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.