SpreadJS Save PDF with SVG from IE

Posted by: martin.mayr on 8 August 2018, 3:33 am EST

    • Post Options:
    • Link

    Posted 8 August 2018, 3:33 am EST

    I have a spreadsheet with a SVG Picture.

    When I export it with savePDF from IE the Picture is missing.

    All other Browsers work OK.

    Find attached the 2 different PDFs and the SVG i embedded.DownloadedPDFwithSVG.zip

  • Posted 9 August 2018, 9:42 am EST - Updated 3 October 2022, 11:07 am EST

    Hello,

    It looks like an SVG compatibility issue with IE11. Please check the ‘meta’ tag is set for modern IE browser(i.e. Edge or IE11). Also you can change the default mode to Edge for IE11 so it renders the SVG fine.

    In case the issue still persists, please provide me your html page with SpreadJS.

    Thanks,

    Deepak Sharma

  • Posted 10 August 2018, 5:49 am EST

    If i change Edge Browser to IE11 Emulation it works.

    In IE11 it does not work.

    Can you create a correct PDF from IE11 with a SVG Picture in it?

    Steps to reproduce error:

    Use IE11

    Spreadsheet, insert svg Picture

    SavePDF

    Open PDF and check if the Picture is in it.

  • Posted 13 August 2018, 10:06 am EST

    Hi Martin,

    I am able to replicate this issue with IE11, normal mode.

    I have reported this issue to the development team for further investigation for latest build. I will let you know as soon as I get an update on it. The bug id for this is: 262106.

    Thanks,

    Deepak Sharma

  • Posted 27 September 2018, 12:16 am EST

    Hello,

    Our developers have confirmed that this is a limitation as IE11 doesn’t support SVGImageSource.

    https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage

    Thanks,

    Reeva

    I tried Chrome and Edge, all worked well.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels