I have a HTML file containing scripts, images and charts (uses 'svg'). As per one of the iText examples I am using following code to convert input html file into a pdf file:
HtmlConverter.convertToPdf(new FileInputStream(src), new FileOutputStream(dest));
During conversion I get following errors:
c.i.h.a.i.DefaultHtmlProcessor - No worker found for tag script
c.i.s.r.f.DefaultSvgNodeRendererFactory - Could not find implementation for tag tspan
c.i.h.c.a.u.PaddingApplierUtil - Padding value in percents not supported
How do I resolve these errors ?
2019-03-13 10:20:44,728 [warn] c.i.s.r.f.DefaultSvgNodeRendererFactory - Could not find implementation for tag tspan
– NKM