Hi,
I believe if you have an inline SVG element (the SVG XML is directly inside your document), then it should render fine. However if the SVG is from an Url, then the converter may occurs before the SVG document has been fully loaded. If that's the case, you can write some JavaScript to check whether the SVG has been loaded, if it has been loaded, then call eopdf.convert(), otherwise setup a timer to check again:
Code: JavaScript
function checkSVG()
{
var svg = document.getElementById(svg_element_id).getSVGDocument();
if (!svg)
{
//Try again later
setTimeout("checkSVG()", 100);
}
else
{
//Trigger the converter
eopdf.convert();
}
}
Please let us know if that works for you.
Thanks!