org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Helvetica

oxygenxml.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error transform from xml xsl-fo to pdf - Oxygen XML Forum

    oxygenxml.com | 8 months ago
    org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Helvetica

    Root Cause Analysis

    1. org.apache.fop.pdf.PDFConformanceException

      For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Helvetica

      at org.apache.fop.pdf.PDFFont.validate()
    2. Apache FOP
      FOTreeBuilder.endDocument
      1. org.apache.fop.pdf.PDFFont.validate(PDFFont.java:199)
      2. org.apache.fop.pdf.PDFFont.toPDFString(PDFFont.java:210)
      3. org.apache.fop.pdf.PDFObject.toPDF(PDFObject.java:176)
      4. org.apache.fop.pdf.PDFObject.output(PDFObject.java:165)
      5. org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:899)
      6. org.apache.fop.pdf.PDFDocument.outputTrailer(PDFDocument.java:972)
      7. org.apache.fop.render.pdf.PDFRenderer.stopRenderer(PDFRenderer.java:506)
      8. org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.java:245)
      9. org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java:283)
      10. org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:171)
      10 frames
    3. Saxon HE
      ReceivingContentHandler.endDocument
      1. net.sf.saxon.event.ContentHandlerProxy.close(ContentHandlerProxy.java:274)
      2. net.sf.saxon.event.ProxyReceiver.close(ProxyReceiver.java:90)
      3. net.sf.saxon.event.ReceivingContentHandler.endDocument(ReceivingContentHandler.java:218)
      3 frames
    4. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
      3. org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
      4. org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
      5. org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      10. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      11. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      12. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      12 frames
    5. Saxon HE
      IdentityTransformer.transform
      1. net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
      2. net.sf.saxon.event.Sender.send(Sender.java:185)
      3. net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:29)
      3 frames
    6. Apache FOP
      Main.main
      1. org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
      2. org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
      3. org.apache.fop.cli.Main.startFOP(Main.java:166)
      4. org.apache.fop.cli.Main.main(Main.java:197)
      4 frames