Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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);