Thanks. Using ARIALUNI.TTF
And this encoding :
BaseFont.IDENTITY_H
Solved the problem.
cb.setFontAndSize(BaseFont.createFont("fonts/times.ttf", BaseFont.IDENTITY_H,
false), 14);
I used times.ttf from windows fonts and works also fine. So this means pdf
BaseFont.TIMES_ROMAN
is different than Windows font ?
Thanks for such fast response.
Tomasz
Dnia 20 lipca 2011 13:45 1T3XT BVBA <[email protected]> napisał(a):
On 20/07/2011 13:13, viral wrote:
> Can you help me ?
Only if you have a font that knows about these characters:
http://support.itextpdf.com/node/25
http://support.itextpdf.com/node/75
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php