Closed
Bug 741953
Opened 12 years ago
Closed 12 years ago
unable to render pdf
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
VERIFIED
FIXED
Firefox 17
People
(Reporter: mozilla, Unassigned)
References
()
Details
(Whiteboard: https://github.com/mozilla/pdf.js/issues/806)
I'm able to download and view this pdf in Preview and Adobe Reader. When I load the url directly, pdf.js fails to render any of it. When I download the pdf and then drag/drop it into Firefox, it renders some of the pages correctly and most of them as a line of static above a black page. I'm on 14.0a1 2012-04-03.
Comment 1•12 years ago
|
||
With PDF Viewer 0.3.35, I get the following message: "PDF.JS Build: cf19de8 Message: JBIG2 image format is not currently supprted. Stack: error("JBIG2 image format is not currently supprted.")@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:514 Parser_makeFilter([object Object],"JBIG2Decode",31132,(void 0))@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:26138 Parser_filter([object Object],[object Object],31132)@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:26081 Parser_makeStream([object Object],(void 0))@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:26073 Parser_getObj()@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:25954 XRef_fetch([object Object])@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:3553 XRef_fetchIfRef([object Object])@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:3505 Dict_get("Im0")@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:2943 PartialEvaluator_getOperatorList([object Object],[object Object],[object Array])@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:13090 Page_getOperatorList([object Object],[object Array])@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:171 wphSetupRenderPage([object Object])@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:29263 messageHandlerComObjOnMessage([object MessageEvent])@moz-filedata:4e435cf0-ac2b-48e1-a946-cb19893a0650:29168"
Whiteboard: https://github.com/mozilla/pdf.js/issues/806
Comment 2•12 years ago
|
||
WFM, JBIG2 support was added in current nightly.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → Firefox 17
Comment 3•12 years ago
|
||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:20.0) Gecko/20121217 Firefox/20.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:19.0) Gecko/20121216 Firefox/19.0 Verified that provided PDF is rendered (though it needs some time to display the content) using the latest Nightly (20.0) and Aurora (19.0) builds.
Status: RESOLVED → VERIFIED
Comment 4•10 years ago
|
||
I have run into a similar error - JBIG2 is supported but not JBIG2 huffman. Error occurs on PDF: http://library.sciencemadness.org/library/books/gergel_isopropyl_bromide.pdf This is a PDF with scanned images overlayed with OCR text. PDF.js renders this PDF as a blank page. PDF.js both in Firefox Nightly and Chromium Nightly (via the Chrome Store extension) show the issue. Firefox Nightly: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:36.0) Gecko/20100101 Firefox/36.0 (2014-10-30) "PDF 45847fd3c55ebb91f56344f6f26abe [1.5 ABBYY FineReader 8.0 Professional Edition / -] (PDF.js: 1.0.907)" viewer.js:5357 "Error: JBIG2 error: huffman is not supported" pdf.worker.js:250 "SimpleSegmentVisitor_onSymbolDictionary@resource://pdf.js/build/pdf.worker.js:37463:9 processSegment@resource://pdf.js/build/pdf.worker.js:37335:7 processSegments@resource://pdf.js/build/pdf.worker.js:37341:7 parseJbig2Chunks@resource://pdf.js/build/pdf.worker.js:37371:7 Jbig2Image_parseChunks@resource://pdf.js/build/pdf.worker.js:37519:14 Jbig2Stream_ensureBuffer@resource://pdf.js/build/pdf.worker.js:31517:16 DecodeStream_getBytes@resource://pdf.js/build/pdf.worker.js:30643:9 PDFImage_getImageBytes@resource://pdf.js/build/pdf.worker.js:26449:14 PDFImage_createImageData@resource://pdf.js/build/pdf.worker.js:26327:22 PartialEvaluator_buildPaintImageXObject/<@resource://pdf.js/build/pdf.worker.js:10194:25 " pdf.worker.js:252 "Warning: Unsupported feature "unknown"" pdf.worker.js:235 "Warning: Unsupported feature "unknown"" pdf.js:235 "Warning: Unable to decode image: Error: JBIG2 error: huffman is not supported" pdf.worker.js:235 "Warning: Dependent image isn't ready yet" Chromium Nightly: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2198.0 Safari/537.36 PDF 45847fd3c55ebb91f56344f6f26abe [1.5 ABBYY FineReader 8.0 Professional Edition / -] (PDF.js: 1.0.604) pdf.worker.js:250 Error: JBIG2 error: huffman is not supported pdf.worker.js:252 at error (pdf.worker.js:252) at Object.SimpleSegmentVisitor_onSymbolDictionary [as onSymbolDictionary] (pdf.worker.js:36995) at processSegment (pdf.worker.js:36867) at processSegments (pdf.worker.js:36873) at parseJbig2Chunks (pdf.worker.js:36903) at Object.Jbig2Image_parseChunks [as parseChunks] (pdf.worker.js:37051) at Object.Jbig2Stream_ensureBuffer [as ensureBuffer] (pdf.worker.js:31138) at Object.DecodeStream_getBytes [as getBytes] (pdf.worker.js:30270) at Object.PDFImage_getImageBytes [as getImageBytes] (pdf.worker.js:26101) pdf.worker.js:235 Warning: Unsupported feature "unknown" pdf.js:235 Warning: Unsupported feature "unknown"
You need to log in
before you can comment on or make changes to this bug.
Description
•