Closed Bug 849481 Opened 12 years ago Closed 9 years ago

PDF.js displays improperly, random characters missing

Categories

(Firefox :: PDF Viewer, defect, P3)

19 Branch
x86
All
defect

Tracking

()

RESOLVED FIXED
Firefox 46

People

(Reporter: zim2411, Unassigned)

References

Details

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

Attachments

(3 files)

Attached image TOeAMHg.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 Steps to reproduce: I tried viewing the PDF we generate for our customer's bills in Firefox 19, and 20.0b4. Actual results: Random letters are missing (see attached screenshot). The set of letters missing changes from bill to bill, but it's consistent across platforms. (Windows 7 and Mac OS 10.8) In the image attached, the letters U and J are missing in random places for instance. I have not yet noticed numbers missing, but that would be the worst case scenario. Expected results: The PDF should render all characters.
Since these PDFs contain our customer data, I cannot publicly post a PDF here. I can send one privately if someone would like to test with it.
Component: Untriaged → PDF Viewer
Without PDF to test, it's hard to debug.
I'm guessing this is fixed with the beta version of Firefox, but do you have a sample pdf we can try out?
Flags: needinfo?(zim2411)
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-f-need-info]
I added a pdf file which gets rendered incorrectly in Firefox 31.0a2 (Linux) and Firefox 29.0.1 (Windows). The letter "d" (small and bold) is missing while normal weight "d" and capital "D" is shown fine. https://bugzilla.mozilla.org/show_bug.cgi?id=903856 seems to be a duplicate of this.
Console log: "PDF bd1c3280a930e7565d5b7472dd258f5e [1.5 iText 2.1.7 by 1T3XT; modified using iText® 5.3.1 ©2000-2012 1T3XT BVBA (AGPL-version) / trinkwasser.internal.esvmedien.de] (PDF.js: 1.0.162)" viewer.js:3367 "Warning: Not enough parameters for rlineto; actual: 0, expected: 2" pdf.worker.js:200 "Warning: Not enough parameters for rrcurveto; actual: 0, expected: 6" pdf.worker.js:200 "Warning: Not enough parameters for vmoveto; actual: 0, expected: 1" pdf.worker.js:200 "Warning: Not enough parameters for rcurveline; actual: 0, expected: 8" pdf.worker.js:200 "Warning: Not enough parameters for rmoveto; actual: 1, expected: 2" pdf.worker.js:200 "Warning: Not enough parameters for rcurveline; actual: 0, expected: 8" pdf.worker.js:200 "Warning: Not enough parameters for hvcurveto; actual: 0, expected: 4" pdf.worker.js:200 "Warning: Not enough parameters for rcurveline; actual: 0, expected: 8" pdf.worker.js:200 "Warning: Not enough parameters for callsubr; actual: 0, expected: 1" pdf.worker.js:200 "Warning: Not enough parameters for rcurveline; actual: 0, expected: 8" pdf.worker.js:200 NB/ needinfo flag removed since the PDF sample has been provided.
Flags: needinfo?(zim2411)
Reproduced with the attached pdf using Nightly 39.0a1 (e10s and non-e10s windows) 2015-03-15 under Win 7 64-bit.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Whiteboard: [pdfjs-c-rendering][pdfjs-f-need-info] → [pdfjs-c-rendering]
Whiteboard: [pdfjs-c-rendering] → [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/6724
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1237815
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
QA Whiteboard: [good first verify]
Reproduced the bug in 22.0a1 (2013-03-08) on windows 10 x64 Verified as fixed with latest Firefox Beta 46.0b9 (Build ID: 20160407053945) Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
QA Whiteboard: [good first verify] → [good first verify][bugday-20160420]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: