Q: I am trying to demo PDFTron PDF to SVG library (
http://www.pdftron.com/pdf2svg) for a client. I was looking at your sample code section and saw some examples but none of them worked. Here is what was generated when I clicked on the link to the direct SVG file.
If I clicked the HTML wrapper link, it gave me the viewer, but then this error in the bottom frame
------------
A: I suppose that the problem is that Safari does not support compressed SVG (SVGZ). You can download (
http://www.pdftron.com/pdf2svg/downloads.html) up-to-date converter and test it on your own files.
Btw, by default PDF2SVG CLI will not compress SVG so converted files should work with Safari.
The samples also use deprecated Adobe SVG viewer, so you should probably use the demo app directly.