Closed Bug 865126 Opened 13 years ago Closed 13 years ago

pdfjs badly renders pdf with png (indexed color space)

Categories

(Firefox :: PDF Viewer, defect)

20 Branch
Other
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 23

People

(Reporter: jace42, Unassigned)

References

Details

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

Attachments

(2 files)

Attached file indexed.pdf
User Agent: Mozilla/5.0 (X11; CrOS armv7l 3912.33.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.56 Safari/537.36 Steps to reproduce: I made a pdf with itext. I wrote a single png image to the file. The png is a square, with a transparent section, having indexed color space. I've posted my source code, original png, and resulting pdf here (a broken indexed version and a working rgb version): https://bitbucket.org/djeikyb/firefoxpdfbug/ I tested the pdf using the pdfjs viewer on github.com/mozilla/pdf.js, and it works great. Actual results: It displayed wrong and badly. Expected results: It should have displayed correctly.
It's broken in FF20 but displayed fine in FF23, so it's already fixed. The stable version of Firefox (20.0.1) doesn't include the latest stable version of pdf.js.
Component: Untriaged → PDF Viewer
Regression range: bad=2013-04-16 good=2013-04-17 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1d9c510b3742&tochange=50ab959f4bd1 Fixed by: Ryan VanderMeulen — Bug 861399 - Update pdf.js to version 0.8.47. r=bdahl-
Status: UNCONFIRMED → NEW
Depends on: 861399
Ever confirmed: true
Fixed by #2947.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/2947
Target Milestone: --- → Firefox 23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: