As an admiring user of your pdf-library, I got the
following problem when upgrading my pdf-document from
iText 0.41 to iText 0.80.
Characters with accents, umlauts, trema's (f.i. �, �,
�, � ... ) showed good in 0.41 but in 0.80 they become
question marks.
I ask my PdfWriter to put everything in an
FileOutputStream.
I'm developing on Windows2000, JDK 1.3.1_01.
I use the following code:
<code>
Document document;
FileOutputStream pdfFileOutputStream;
PdfWriter pdfWriter;
Paragraph paragraph;
try {
document = new Document(PageSize.A4,
50,
50,
50,
50
);
pdfFileOutputStream = new
FileOutputStream("testPdfDocument.pdf");
pdfWriter = PdfWriter.getInstance(document,
pdfFileOutputStream);
document.open();
paragraph = new Paragraph("��n test", new
Font(Font.TIMES_NEW_ROMAN, 10));
document.add(paragraph);
document.close();
} catch (Exception exc) {
}
</code>
Thanks on advance !
Jonny De Hertogh
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions