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.
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
Created attachment 609044 [details] Reduced sample 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.
*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
Jonathan do you own the copyright to the "reduced sampled" pdf? If so, are you okay with us using it in our test suite?
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.
Fixed by https://github.com/mozilla/pdf.js/pull/1443 Thanks for the test PDF.
Target Milestone: --- → Firefox 14
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.