Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Firefox's PDF engine (pdf.js) cannot open pdfs with slightly big page size

  • 1 răspuns
  • 1 are această problemă
  • 16 vizualizări
  • Ultimul răspuns de cor-el

more options

https://github.com/Parthas-Menethil/Pdfjs_LargePageSizeIssue

Firefox's pdf engine is an open source library called pdf.js. It seems that it has some issues opening the pdf in the repository above. This PDF has simply nothing but its page size is slightly large (not super giant I would say).

I know this could be a pdf.js issue and I may create a ticket under pdf.js. Ticket Address: https://github.com/mozilla/pdf.js/issues/7896 However, I am personally a user of pdf.js (one of my project has it as the browser pdf viewer). My pdf viewer powered by pdf.js can open the PDF in the repo above in Chrome but not in IE11 or Firefox.

It seems that IE and Firefox's javascript engine may not able to execute/handle the pdf.js script while opening a pdf with large-page-size pages.

Maybe we should discuss about addressing&troubleshooting this issue?

Thank you. Please feel free to share your ideas.

https://github.com/Parthas-Menethil/Pdfjs_LargePageSizeIssue Firefox's pdf engine is an open source library called pdf.js. It seems that it has some issues opening the pdf in the repository above. This PDF has simply nothing but its page size is slightly large (not super giant I would say). I know this could be a pdf.js issue and I may create a ticket under pdf.js. Ticket Address: https://github.com/mozilla/pdf.js/issues/7896 However, I am personally a user of pdf.js (one of my project has it as the browser pdf viewer). My pdf viewer powered by pdf.js can open the PDF in the repo above in Chrome but not in IE11 or Firefox. It seems that IE and Firefox's javascript engine may not able to execute/handle the pdf.js script while opening a pdf with large-page-size pages. Maybe we should discuss about addressing&troubleshooting this issue? Thank you. Please feel free to share your ideas.

Modificat în de lsun

Toate răspunsurile (1)

more options

Looks like a regression as the file works for me in the current Firefox 45.6.0 ESR release, but not in the current release and later version including beta and nightly. Both the built-in version of the PDF Viewer and the latest dev-build of the PDFJS extension (1.6.401) have this problem.

PDF e533e6d81067538e2494e3230542affc [1.5 GdPicture Managed PDF Plugin Ver. 4.00002 / GdPicture Managed PDF Plugin] (PDF.js: 1.6.401)

The Web Console ("3-bar" menu button or Tools -> Web Developer) shows an error message.

  • NS_ERROR_FAILURE: pdf.js:5055
  • ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT);