Skip to main content
Known Participant
January 12, 2021
Question

Embed API only shows parts of a page?

  • January 12, 2021
  • 2 replies
  • 497 views

I've run into a few examples of PDFs which only render some sections of a page when viewed using the Embed API (version 1.11.1-8e846d1). Has anyone else run into this before? Are there any open bugs related to this?

 

When the PDF is viewed via Adobe Reader, it entire page is rendered.

 

Here are some settings of the PDF when viewed in Adobe Reader:

 

No document security enabled

This topic has been closed for replies.

2 replies

Seth5E69Author
Known Participant
January 12, 2021

I would also add that if I open the PDF with Adobe Reader, save it, and try again, it renders find via the Embed API

Joel Geraci
Community Expert
Community Expert
January 12, 2021

Ok - Acrobat and Reader can repair malformed PDF. Embed API doesn't. I suspect that the reason it renders after opening in Reader and saving is because Reader fixed it.

Joel Geraci
Community Expert
Community Expert
January 12, 2021

Can you share the source PDF?

Seth5E69Author
Known Participant
January 12, 2021

Wish I could, but it's a PDF not owned by me and can't post it publically.