The default font is "Helvetica", one of the Base 14 fonts built into all PDF viewers. The base 14 are never embedded.
Solution: Use a different default font, one that isn't a member of the base 14. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer<Cardiff> DisCard = null; > -----Original Message----- > From: Vladislav Peichev [mailto:[email protected]] > Sent: Monday, February 21, 2011 2:20 AM > To: [email protected] > Subject: [iText-questions] How to embed a font in pdfa > > I have an application using itext 2.1.5 which generates pdfa > files using data from a database and dxf files. When a font > in the DXF does not exist on my system I try to add default > font using BaseFont.CreateFont or FontFactory.getFont but I > still get PdfXConformanceException : all fonts must be > embedded. How to resolve this issue. > > > > > -------------------------------------------------------------- > ---------------- > The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Many questions posted to this list can (and will) be answered > with a reference to the iText book: > http://www.itextpdf.com/book/ Please check the keywords list > before you ask for examples: http://itextpdf.com/themes/keywords.php > > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
