HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Batik implementation › Reply To: Batik implementation
June 19, 2019 at 11:00
#30211
When PD4ML encounters <svg> tag it tries to instantiate BatikSvgCustomTag class. If Batik library is missing it fails and fallbacks to our built-in proprietary SVG renderer.
No explicit API calls needed to activate it.
Batik is more strict regarding SVG syntax, so if it starts to panic e.g. because of missing namespace xmlns=”http://www.w3.org/2000/svg” in <svg> tag – that means Batik is definitely in action.
You may explicitly disable Batik by
com.pd4ml.plugins.BatikSvgCustomTag.disable = true;
