Fons wrote: > I'm creating a PDF document with a PdfTemplate. Everything works well except > that the font used in the PdfTemplate is displayed ugly within Acrobat.
> Does anybody knows why the font that is used within the template is not > displayed correctly? Can this be solved within iText or is this perhaps an > Acrobat problem? I've looked at the two PDFs and I didn't see any "ugly" font, BUT: the first PDF (without the template) contains an "embedded subset" of the font "Georgia" (Ansi encoding). That's the correct way to use a font. The second PDF however, contains: - an embedded subset of Georgia (Ansi) - an embedded subset of Georgia (CID / Identity-H) - Georgia NOT EMBEDDED (Ansi) - Georgia-Bold NOT EMBEDDED (Ansi) The two first fonts are OK, but as the two following fonts are not embedded, my Adobe Reader had to look for the font Georgia on my Operating System. Fortunately, I have that font on my OS, so the PDF is shown correctly, but people who don't have that font on their OS will see another (maybe a very ugly) font. I think you've made a mistake when creating the font. Why don't you just create one BaseFont using Identity-H to be used for all the text in your document? Especially using an unembedded font is not recommended. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/