Closed
Bug 738979
Opened 13 years ago
Closed 13 years ago
pdf.js: Gradients in PDF file are rendered solid black
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
VERIFIED
FIXED
Firefox 14
People
(Reporter: jonathan_haas, Unassigned)
References
Details
(Whiteboard: https://github.com/mozilla/pdf.js/pull/1443 [testday-20120622])
Attachments
(1 file)
(deleted),
application/pdf
|
Details |
Opening http://www.rz.rwth-aachen.de/global/show_document.asp?id=aaaaaaaaaacdmoc in the integrated pdf.js viewer result in an unreadable pdf with black background. When opened in some other viewer it's displayed correctly with a light gray gradient background.
Expected result: Firefox should display the pdf correctly with a light gray gradient background.
Comment 1•13 years ago
|
||
Reproduced:
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120324 Firefox/14.0a1
Evince 3.2.1 does not show black background.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Reporter | ||
Comment 2•13 years ago
|
||
This pdf contains a box with simple gradient, green at the top, black at the bottom. When opened in Firefox, it just shows a simple black box.
Reporter | ||
Comment 3•13 years ago
|
||
*green at the top, red at the bottom
Summary: pdf.js: pdf background is black instead of white → pdf.js: Gradients in PDF file are rendered solid black
Comment 4•13 years ago
|
||
Jonathan do you own the copyright to the "reduced sampled" pdf? If so, are you okay with us using it in our test suite?
Reporter | ||
Comment 5•13 years ago
|
||
Yes, I created it myself using Inkscape. You can use it for anything you want (public domain). If you need something special for the tests (like something with useful integer dimensions or two pdfs which should look the same, but don't then please ask for it.
Comment 6•13 years ago
|
||
Fixed by https://github.com/mozilla/pdf.js/pull/1443
Thanks for the test PDF.
Updated•13 years ago
|
Whiteboard: https://github.com/mozilla/pdf.js/pull/1443
Target Milestone: --- → Firefox 14
Comment 7•12 years ago
|
||
I verified fixed this bug. tested on latest aurora -> Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120621 Firefox/15.0a2
Status: RESOLVED → VERIFIED
Whiteboard: https://github.com/mozilla/pdf.js/pull/1443 → https://github.com/mozilla/pdf.js/pull/1443 [testday-20120622]
You need to log in
before you can comment on or make changes to this bug.
Description
•