How to display chinese character
| Wed, 2008-03-26 05:57 | |
|
Hi Every body, I want to display chinese character on emulator. I know there is chinese SDK but I want to know in non-chinese SDK I can display chinese character or not. Is there any way to display or it is not possible with non-chinese SDK in emulator. Thanks & Regards Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1 |
|






Forum posts: 1058
I am not sure about S60 emulators, but at least with the UIQ emulators you can just take a TrueType font with Chinese characters, copy it to the Z:\Resource\font directory of the emulator, and that's it.
I am using Simsun.ttf. Just hunt it down with Google if you want it.
René Brunner
Forum posts: 61
On S60 as well, you can use any custom font. Just check for custom fonts. Why don't you load your font and try displaying that.
Forum posts: 128
Hi Rene,
thank you very much for reply. I find one sample program to display chinese character in S60 device. I test on S60 emulator but I am getting only square box. still I am searching solution to display chinese character on S60 emulator. I am going to download Simsun.ttf .
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1
Forum posts: 1058
Well, yes, without a font that includes Chinese characters you will be definitely out of luck and get only square boxes
René Brunner
Forum posts: 128
Hi SymbianReady,
Thank you for your reply.
can you give me more details like how to load font or how to use custom font. I am waiting for valuable response.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1
Forum posts: 693
You could start by re-reading René's first reply above. The part that begins with "just take a TrueType font"...
Forum posts: 128
Hi N_A,
Thanks for your reply, I understand that I need to use chinese font to display chinese character.I am trying to solve my problem.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1
Forum posts: 128
Hi All,
To display chinese character i download Simsun.ttf for chinese. I am taking reference from this link. http://wiki.forum.nokia.com/index.php/Custom_font.
Now I want to convert .ttf to .gdr to do so I am getting help from this link. http://www.symbian-freak.com/tunning/fontquide/font.htm. but it is taking so much time to convert in . gdr.
Please tell me how I will conver .ttf to .gdr. Or I can use any other method to convert .ttf to .gdr. Still I am trying to convert .ttf to .gdr.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1
Forum posts: 1058
Why do you make your life hard when you don't have to?
Nobody here told you to *convert* the TrueType font to anything. There is no need to convert it because S60 3rd edition phones can work directly with TrueType fonts, If you give them the same name as the built-in system font, you can even coax your phone into using any old TrueType font as your system font for all messages, menus and so on, as explained e.g. here:
http://darlamack.blogs.com/darlamack/2007/05/changing_fonts_.html
So just copy a TrueType font to the Z:\Resource\Fonts directory of the emulator (plural, with "s", my first take with Z:\Resource\Font was wrong) , select that font in your program for whatever you want to display in Chinese, and that's it.
Of course if you don't correctly select the font in your program, all the presence of a Chinese font won't help a bit, so maybe there is the problem?
René Brunner
Forum posts: 128
Hi Rene,
Thank you for your reply. I was going in wrong direction . I will do as you have suggest me. I will take help from your given link.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1