Hi.
when i add a Text containing umlauts, such as ÃÃÃ to a contentbyte, 
they do not appear on the resulting PDF, what am i missing?

Code:

PdfContentByte cb = docWriter.getDirectContent();
bf = BaseFont.createFont(FontFactory.TIMES_ROMAN, BaseFont.CP1252,
BaseFont.NOT_EMBEDDED);
cb.setFontAndSize(bf, 12);
cb.beginText();
cb.showText("- persÃnlich -");
cb.endText();

on the resulting PDF there is:
- persnlich -
instead of:
- persÃnlich -

this is rather important.

regards, ulf



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to