iText 5 HTML+CSS to PDF/A-2 : Helvetica font not embedded error

We are using our very own PrintFontProvider. This should get you going: private static final CSSResolver cssResolver = XMLWorkerHelper.getInstance().getDefaultCssResolver(true); private static final HtmlPipelineContext htmlContext = new HtmlPipelineContext(null); static { htmlContext.setTagFactory(Tags.getHtmlTagProcessorFactory()); htmlContext.autoBookmark(false); // Our own PrintFontProvider provides Fonts as needed… htmlContext.setCssAppliers(new CssAppliersImpl(new PrintFontProvider())); // We apply some default styles to the pdf generation… try { String … Read more

tech