Hi!

I'm a beginner in using iText and I'm using a Japanese environment.

I tried the following to create the Japanese font as what I read from iText 
documentation:

BaseFont bfJapanese = BaseFont.createFont("HeiseiKakuGo-W5", "UniJIS-UCS2-HW-H", 
BaseFont.NOT_EMBEDDED);
Font FontJapanese = new Font(bfJapanese, 12, Font.NORMAL);
Paragraph chunk = new Paragraph(japanese, FontJapanese);
document.add(chunk);

The source above compiled without any problem. Problem occurs when I'm generating the 
pdf file:

e.g. java <name of the compiled class>

Font 'HeiseiKakuGo-W5' with 'UniJIS-UCS2-HW-H' is not recognized.

I'm receiving the errors above and the document is not created.

Also, I downloaded the Adobe Japanese Font Pack and already installed in my system but 
still doesn't work.

Can anybody help me with this?

Thanks.

----
Ricky M. Codizar  [EMAIL PROTECTED]


-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to