Closed Bug 887152 Opened 11 years ago Closed 11 years ago

PDF shows images incorrectly with inverted colours

Categories

(Firefox :: PDF Viewer, defect, P3)

21 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED
Firefox 25

People

(Reporter: uhoh70, Unassigned)

References

Details

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

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

Open http://www.nature.com/news/2010/100721/pdf/466432a.pdf


Actual results:

Background image is rendered with inverted colours resulting in text being unreadable


Expected results:

Normal image as viewed with other PDF readers
Same issue with FF25, probably a dupe (many bugs have reported similar issues with the same error message).

Web console:
[14:19:29.214] "PDF 12ef531bf0204a78aedb861a7da4a297 [1.5 Adobe PDF Library 8.0 / -] (PDF.js: 0.8.229)"
[14:19:29.335] "Warning: TODO: graphic state operator SMask"
Status: UNCONFIRMED → NEW
Component: Untriaged → PDF Viewer
Ever confirmed: true
Summary: PDF shows image incorrectly → PDF shows images incorrectly with inverted colours
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-image-conversion]
Bug 889278 seems to be similar, but I don't have "Warning: TODO: graphic state operator SMask" warning, I'm not sure if it's the same issue
Whiteboard: [pdfjs-c-rendering][pdfjs-d-image-conversion] → [pdfjs-c-rendering][pdfjs-d-image-conversion][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3436
This is WFM

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 ID:20130907004002 CSet: dd2d818af48a
"PDF 12ef531bf0204a78aedb861a7da4a297 [1.5 Adobe PDF Library 8.0 / -] (PDF.js: 0.8.377)"
"Warning: TODO: graphic state operator SMask"

and

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130907030204 CSet: 3697f962bb7b
"PDF 12ef531bf0204a78aedb861a7da4a297 [1.5 Adobe PDF Library 8.0 / -] (PDF.js: 0.8.499)"
"Warning: TODO: graphic state operator SMask"
Fixed by bug 897554 in FF25+.
Status: NEW → RESOLVED
Closed: 11 years ago
Depends on: 897554
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
You need to log in before you can comment on or make changes to this bug.