----- Original Message -----
From: Rick
Sent: Tuesday, August 20, 2002 8:32 PM
Subject: Question about Itext lib on Chinese characters

HI,
 
I am a java programer who is using Itext as a lib to generate
PDF files.
 
The lib works fine, but I have a question about Far East language.
 
I noticed that, if I want to output traditional Chinese  into PDF,
BaseFont bf = BaseFont.createFont("MHei-Medium", "UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED);
or
BaseFont bf = BaseFont.createFont("MSung-Light ", "UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED);
to create basefont upon which to gernerate a font.Then I can output Chinese.
 
But my questions are:
1.If I want to use true-type font to display Chinese in other styles, how to create basefont?
    I have tried to create basefont and fill the second parameter as abvol,but seems not work.
2.If I want to use other Chinese other than Big5 and Simple Chinese, say HongKong Chinese(There are
some characters unique to HongKong), how can I do?
 
Thanks for you information!
 
 
 
MHei-Medium and MSung-Light with the encodings UniCNS-UCS2-H and UniCNS-UCS2-V
 
Best Regards
 
Rick
 
Tel:  +86 20 3765 0936
E-mail: [EMAIL PROTECTED]
China Electronic Information Technology LTD.

Reply via email to