Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 1 réponse
  • 1 a ce problème
  • 16 vues
  • Dernière réponse par 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.

Modifié le par lsun

Toutes les réponses (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);