I use FOP to convert SVG to PDF by embedding the SVG in a HTML object tag
and use FOP to convert this HTML to PDF, which works in most cases. However
for the SVGs which internally reference an image present at a different
location, FOP is not able to render the image correclty. I have tried this
by setting the path of the location as the baseurl on fop factory.

fopFactory.setBaseURL(baseUrl);

This approach however works for a HTML which has an image present in a
different folder. What should be done to handle such SVGs?

Kalyan.

Reply via email to