I'm looking into it... Leonard
-----Original Message----- From: TallPine [mailto:samp...@tallpine.com] Sent: Thursday, December 03, 2009 1:59 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Type 3 Font problems with Adobe Reader Version 9 I am attaching a sample PDF file. It displays on version 7 and 8 but fails on 9. This is a pathological use of fonts however it is a production AFP application. Go figure! The following code is used to define each glyph: Type3Font t3f = new Type3Font(pdfWriter,chars,false); t3f.setPostscriptFontName(codedfont.getName()); . . . // for each glyph { t3g = (Type3Glyph) t3f.defineGlyph(<character code>,<character width/increment>, <char box left>,0f,<char box right>,<char box height>); com.lowagie.text.Image mask = com.lowagie.text.Image.getInstance(<mask width>,<mask height>,1,1,<mask data>); mask.makeMask(); mask.setInvertMask(true); t3g.addImage(mask, (float)iWidth, 0, 0, (float)iHeight, x , y, false); } Without seeing an actual file - it's impossible to even guess! I have been successfully using the Type 3 Font support in iText. However, I have discovered that Adobe reader 9 does not display the created PDF correctly. Reader version 7 and 8 display the file correctly There are no errors reported by the Reader. The characters are simply displayed incorrectly (garbled and shrunk). Has anybody encountered this problem. The type 3 fonts contain characters constructed form 600 pel/inch raster fonts. http://old.nabble.com/file/p26631234/test_file.AFP.pdf test_file.AFP.pdf -- View this message in context: http://old.nabble.com/Type-3-Font-problems-with-Adobe-Reader-Version-9-tp26612720p26631234.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/ ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/