We’ve got the Batik-all dependency setup fine. The issue is more with the Java steps required to use Batik within PD4ML. The code that we have is essentially as follows:
this.pd4ml = new com.pd4ml.PD4ML();
Dimension dimension= PD4Constants.A4;
pd4ml.setPageSize(new PageSize(dimension.width, dimension.height));
Insets insets = new java.awt.Insets(5,5,5,5);
pd4ml.setPageMargins(new PageMargins(insets.left, insets.top, insets.right, insets.bottom));
I’m not exactly sure where Batik fits in this process, though I’d imagine it’d be somewhere between readHTML and writePDF.
To clarify exactly what the issue is, we are trying to render a SVG textpath (which doesn’t seem to be supported by the PD4ML in-built SVG renderer), so we’re trying to use Batik within the code that we currently have, but are not sure how.
Is there a method that needs to be called in order to load Batik into PD4ML?