Hi, I'm having the same problem to embed the 'base14' adobe fonts, to support PDF-X. I have the PFB and AFM files, the fonts are embedded but in result the chars seems triangles!!!
bf = BaseFont.createFont("Courier.pfb", "winansi", true); f = new Font(bf, 12, 0, Color.BLACK); I have use another way to create these fonts? Thanks, Andrei Nunes -- Bruno Lowagie (iText) wrote : Schalück wrote: > Hi, > I want to use the standard Type 1 fonts (e.g. COURIER) within PDFA. It > is not possible to embed this font into my pdf document (see > BaseFont.createFont). > But when I close the document, the > PdfXConformanceImp.checkPDFXConformance rejects this font, since it > isn't embedded. > Now the real question: Is it a bug or a "PDFA"-feature, not allowing > these fonts? It's by design. iText ships with the AFM files of all the standard Type 1 fonts. If you want to embed such a font, you also need to provide the PFB fonts (which iText doesn't have). This is explained in chapter 8 of the book. Do you have the PFB files for Courier? br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/message/itext-questions@lists.sourceforge.net/6914730.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/