pdfjs renders PDF pages gray
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
People
(Reporter: spilkerj, Unassigned)
Details
Attachments
(1 file)
262.58 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
I opened a PDF in FF 102 with the built-in PDF viewer. All files showed the same behavior.
Actual results:
The PDF pages render with a gray color (the actual PDF pages themselves, not the viewer background color), which makes it hard to read black-on-grey text and makes other parts of the PDF appear to display colors incorrectly.
I had FF 101 running on another computer, and compared all the about:config entries with "pdfjs" in them. The issue is that, new in 102, there are two additional parameters - pdfjs.pageColorsBackground and pdfjs.pageColorsForeground - set with default values of "Canvas" and "CanvasText". These appear to override the correct rendering of the PDFs.
Expected results:
The PDF page backgrounds should be rendered white, in their native color.
Deleting the two defaults and leaving the above about:config keys blank fixed the issue.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Canvas: 2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:lsalzman, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•