For some reason, I am no longer receiving mailing list posts. It seems like the mailing list service is going up and down all the time. Anyway, I found your message on GMANE, a service I use as backup when the mailing list is down.
Piotr Górski wrote:
Hi, I am able to print polish fonts in pdf with: String text = "Some polish characters: \u0105\u0107\u00f3\u017c" document.add(new Paragraph(text,font)); I also can generate polish characters through: Graphics2D g2d = cb.createGraphicsShapes(w,h); But quality of printed strings is too low.
If you use createGraphicsShapes the glyphs are added by JAVA as shapes. Inside the PDF, you won't find any reference to a font. This is not the ideal way to print Polish characters. It's more something you would use if you want to write Hindi or some other languages with ligatures that aren't supported in iText. Please try cb.createGraphics(w,h); instead, this should lead to much better results. br, Bruno ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
