I saw the PDF and one of the Verdana fonts is not embedded. You can check it in Acrobat in "document properties -> fonts".
Paulo ----- Original Message ----- From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Tuesday, August 08, 2006 11:22 PM Subject: Re: [iText-questions] Problem with Embedded fonts > It would help to see one of those PDFs. > > Paulo > > ----- Original Message ----- > From: "Jeff Mogielnicki" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, August 08, 2006 10:51 PM > Subject: [iText-questions] Problem with Embedded fonts > > >>I am using Itext(1.3.4) to create pdfs, and using hylafax(v4.2.1) as >> the fax server to fax them. I use gnu-hylafax(v0.0.8.3) as the Java >> API to hylafax. >> >> Hylafax uses GhostScript to convert the PDFs to gs to fax them. About >> 30% of the faxes fail because the hylafax converter program (pdf2ps) >> determined that there was a problem: >> >> "**** Warning: An error occurred while reading an XREF table. >> **** The file has been damaged. This may have been caused >> **** by a problem while converting or transfering the file. >> **** Ghostscript will attempt to recover the data. >> Error: /ioerror in --readstring-- >> <...snipped...> >> Check any PostScript documents for non-standard fonts and invalid >> constructs." >> >> All the PDFs in appear fine when viewed in the Acrobat viewer. When I >> view them in GS (solaris v8.14) it appears fine, but this message is >> shown: >> >> "Loading NimbusSanL-Regu font from >> /usr/local/share/ghostscript/8.14/lib/fonts/n019003l.pfb... 2257168 >> 902873 2169348 879445 3 done. >> **** Warning: Fonts with Subtype = /TrueType should be embedded. >> But Verdana is not embedded. >> Scanning /usr/openwin/lib/X11/fonts/Type1/outline for fonts... 16 >> files, 15 scanned, 0 new fonts. >> Substituting font Helvetica for Verdana." >> >> My document uses the Verdana True type font. I embed it in the code by: >> >> ... >> bfVerdana = BaseFont.createFont(FONTDIR + >> BODYFONTNAME, BaseFont.CP1252, BaseFont.EMBEDDED); >> fontVerdana10 = new Font(bfVerdana, 10, Font.NORMAL); >> ... >> >> Does anyone have any thoughts on why GS and pdf2ps don't recognize the >> embedded font? >> >> Thanks in advance for any and all help. Please let me know if I can >> give more information. >> >> -Jeff >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> iText-questions mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/itext-questions > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
