Closed Bug 1064894 Opened 10 years ago Closed 9 years ago

[PDF Viewer] Firefox fails to decode scanned text as image (blank)

Categories

(Firefox :: PDF Viewer, defect)

32 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 35

People

(Reporter: freddy.godts, Assigned: Snuffleupagus)

References

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/5284)

Attachments

(2 files)

Attached image firefox_pdf.jpg
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)

Steps to reproduce:

thousands files off this format on that site, example :

http://www.ejustice.just.fgov.be/tsv_pdf/2014/09/09/14167020.pdf


Actual results:

white page appears white the version off firefox 32, no problem whth earlyer versions


Expected results:

the image off the pdf file appears at the screen
Severity: normal → critical
this is not a security-sensitive issue, removing flag
Group: core-security
Severity: critical → normal
Component: Untriaged → PDF Viewer
Attached file 14167020.pdf
I don't think it worked with previous versions of Firefox, I tested and the rendering is broken too. In some old versions, the PDF loads endlessly or displays a blank page.
In the current version of Firefox, only the vertical text is displayed, the scanned part is not.

Console log:
"PDF 15f3a4498224fea5b56791fac35d45f [1.4 PDF4NET 2.9.1.0 (http://www.o2sol.com/) / -] (PDF.js: 1.0.277)" viewer.js:3465
"Warning: Unable to decode image: TypeError: decodeParams.has is not a function" pdf.worker.js:201
"Warning: Dependent image isn't ready yet" pdf.js:201
Summary: white page off a pdf file with portable document format in firefox 32 → [PDF Viewer] Firefox fails to decode scanned text as image (blank)
Status: UNCONFIRMED → NEW
Ever confirmed: true
can you find a solution for this problem, we have over 5 millions of this kind of file on our system and many users works with firefox 32 in Belgium
(In reply to freddy.godts from comment #3)
> can you find a solution for this problem, we have over 5 millions of this
> kind of file on our system and many users works with firefox 32 in Belgium

The solution was proposed at https://github.com/mozilla/pdf.js/pull/5284 and currently under review
Assignee: nobody → jonas.jenwald
Whiteboard: [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/5284
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1064496
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: