Closed Bug 799695 Opened 12 years ago Closed 11 years ago

Background too dark


(Firefox :: PDF Viewer, defect)

19 Branch
Not set



Firefox 22
Tracking Status
firefox19 - affected
firefox20 + wontfix
firefox21 + wontfix


(Reporter: mcote, Assigned: bdahl)



(Whiteboard: [pdfjs-c-rendering][pdfjs-f-fixed-upstream]

The pdf at isn't rendering correctly--as compared to my desktop pdf viewer, the background is much darker, to the point of making part of the foreground text unreadable.
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering]
This causes documents with some backgrounds to be unreadable.
Other documents with this issue:$File/1-24.pdf?OpenElement

Reproducible on other platform, as well (tested wit Win Vista x86).
OS: Linux → All
Hardware: x86_64 → All
What I'm seeing in the latest Nightly under Windows 8:

Black "5 SAISON" covers some of the text.
No info-bar appears but I can manually download the PDF.
Adobe Reader does not render the black "5 SAISON" text.

Black and white flower image renders making the text unreadable.
No info-bar appears but I can manually download the PDF.
Adobe Reader renders the flower image as light grey, making the text readable.

Dark grey "NS6" renders on top of some of the text.
Info-bar appears allowing me to load the PDF in Adobe Reader.
Adobe Reader does not render the "NS6" text.

In my opinion, this is definitely a bug we should fix (if nothing else than to achieve parity with Reader) but I don't think fixing this should block shipping PDF.js in Firefox 19. One can work around this fairly easily by using another PDF viewer. However, I do think we should be offering the info-bar far more aggressively at launch.
Not a feature blocker, but we'll track for upcoming releases.
Assignee: nobody → bdahl
Priority: P3 → --
Console logs the message "Warning: TODO: Support non-isolated groups.", but the display was improved.
Sanitizer rejects fonts from some PDFs, but it is a separate problem.
Whiteboard: [pdfjs-c-rendering] → [pdfjs-c-rendering][pdfjs-f-fixed-upstream]
Too late for speculative fixes on FF20 so this will remain unfixed for that release.
Fixed by bug 852981.
Closed: 11 years ago
Depends on: 852981
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
This patch was rather large and had follow up fixes that we'd also need to merge.  I would rather not uplift for FF21 and just let it ride trains and be fixed in FF22.
Marking this wontfix for Fx 21 , per comment 9.
You need to log in before you can comment on or make changes to this bug.