Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 1 trả lời
  • 1 gặp vấn đề này
  • 16 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Được chỉnh sửa bởi lsun vào

Tất cả các câu trả lời (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);