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!

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

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

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 16 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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.

เปลี่ยนแปลงโดย lsun เมื่อ

การตอบกลับทั้งหมด (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);