Hi.

Try to embedd your font. Maybe your pdfrenderer is missing it. Use 
BaseFont.EMBEDDED instead of BaseFont.NOT_EMBEDDED.

Best Regards
Thimo Seitz

--------------------------------------------
Dipl.-Inf. (FH) Thimo Seitz
Geschäftsführer Entwicklung
Flyer-Ex Software GmbH
Am Weichselgarten 7
91058 Erlangen/Tennenlohe
Tel. 09131 / 691-189

[EMAIL PROTECTED]
http://www.flyer-ex.de
--------------------------------------------

-----Ursprüngliche Nachricht-----
Von: dilttha [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 24. September 2008 08:34
An: [email protected]
Betreff: [iText-questions] Display multiple languages using itext in java


Hi All,
When I am trying to use the following code , not able to display the Thai
characters in PDF.
Can you plese send me the code to display Thai characters in PDF using
itext.

BaseFont helvetica = BaseFont.createFont("D:\\Fonts\\arialuni.ttf",
BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);
Font font = new Font(helvetica, 8, Font.NORMAL);
Chunk chunk = new Chunk("ชื่อพนักงาน", font);
document.add(chunk);
-- 
View this message in context: 
http://www.nabble.com/Display-multiple-languages-using-itext-in-java-tp19642819p19642819.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to