PDF reader: error viewing a PDF

edited April 14, 2021
Hi,

When I opened a PDF in the new PDF reader, I received the following error message on a red background:

PDF.js v2.8.147 (kooste: 3d065b895)
Virheilmoitus:
Pino: putBinaryImageData@resource://zotero/pdf-reader/pdf.js:13252:9
CanvasGraphics_paintInlineImageXObject@resource://zotero/pdf-reader/pdf.js:14833:9
CanvasGraphics_paintImageXObject@resource://zotero/pdf-reader/pdf.js:14783:7
CanvasGraphics_executeOperatorList@resource://zotero/pdf-reader/pdf.js:13579:11
_next@resource://zotero/pdf-reader/pdf.js:12132:30
_scheduleNext/<@resource://zotero/pdf-reader/pdf.js:12120:11

The title of the error message was something like "An error occurred while drawing the page" (this was in Finnish). This has only happened with one file. The result was that I couldn't view a few pages in the file and the document was loading very slowly. Other PDFs open just fine.

I'm using Zotero build 5.0.97-beta.16+128ed5e4c.

Joonas
  • If you'd be willing to email the file to support@zotero.org with a link to this thread, that'd almost certainly be helpful
  • @Jvanhala: Yeah, as you noted in your email, that PDF loads incredibly slowly in Preview — each page seems to be a huge scanned image of text. We'll see if we can handle it better, but there may not be much we can do here.
  • @dstillman: I understand. Thanks for looking into it!
Sign In or Register to comment.