Hello, 

I am trying to use a custom font file to display Chinese characters. 
This is how I am creating the font. 

BaseFont bfComic = BaseFont.createFont("c:\\windows\\fonts\\HDZB_86.TTF",
BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);
String text1 = "\u6F22\u9F0E\u7E41\u7425\u73C0";

But in the PDF, no characters are visible. 

If I use the fonts as specified in iTextAsian.jar, but that is not good
enough for me. I have to work with custom font files. 

Can someone please advise where I am going wrong? 

Thanks, Rema
-- 
View this message in context: 
http://www.nabble.com/Custom-Chinese-font-file-tf3999305.html#a11358306
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to