Skip to main content
Participant
July 25, 2021
Question

PDF version compatibility

  • July 25, 2021
  • 1 reply
  • 3303 views

Hello,

We are using the embedded pdf viewer in our platform, and we started seeing files that just wouldn't open in the viewer.

The error was just a stacktrace starting from: "at self.___cxa_throw (wasm_acrobat2.js:1)"

 

When looking at the file locally on my Mac Preview tool, it opened correctly, and when clicking on "inspect tool" it shows pdf version: 1.7

 

is this a version that you do not support?

re-saving the file created the same pdf with version 1.3 did work eventually

 

my question - which versions of PDF files the embedded viewer supports? what can we do when investigating a file that doesn't open?

 

Thanks,

Ron,

Navina

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    July 26, 2021

    Embed API can display PDF 1.7. I suspect the PDF files were malformed and that by saving them as 1.3, forced the PDF to be rewritten and that fixed it.

    Can you share to originals for me to confirm?

    Ron5E45Author
    Participant
    July 27, 2021

    Hi Joel, thanks for the response

    unfortunately I cannot send the files (we have multiple) since they contain sensitive information

     

    Those files are opened correctly with Adobe Acrobat Reader DC on my mac, Chrome PDF viewer and with Mac Preview tool, they just won't open on the embedded js viewer, why can this happen?

     

    Something else I noticed when openning with Adobe Acrobat Reader DC - those documents all have a signature, is this something that the embedded viewer cannot handle?

     

    Thank you,

    Ron

    Participating Frequently
    August 18, 2021

    Hi @Joel Geraci 

     

    We are also facing the same issue. 

    Seems the PDF version 1.7 not compatible with the embed view.

    Rendering just the boxes, while chrome browser does open the entire document.