Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Colors display incorrectly in Firefox PDF viewer

  • 6 ردود
  • 16 have this problem
  • 10 views
  • آخر ردّ كتبه ambeers

more options

I've created a PDF of our agency's annual report, and colors render incorrectly in the Firefox PDF viewer. Is there a way to optimize the PDF so this doesn't happen? Or some other solution?

I'm fine with disabling the viewer on my own computer but don't want my files being rendered poorly for others.

I've created a PDF of our agency's annual report, and colors render incorrectly in the Firefox PDF viewer. Is there a way to optimize the PDF so this doesn't happen? Or some other solution? I'm fine with disabling the viewer on my own computer but don't want my files being rendered poorly for others.

All Replies (6)

more options

I think the PDF Viewer works by extracting the images and text and displaying them using the standard rules of HTML and CSS. If the problem images are JPEGs, you could be running into a color management issue, but first, do you still have the source images that were embedded in the PDF? Could you check on whether those have the same problem when you view them in Firefox, or whether the problem was introduced by the viewer decoding the PDF?

more options

It's actually not the images in this case, but font and object colors (by objects, I mean shapes that were drawn in Adobe InDesign). The file renders correctly in Adobe Reader.

more options

We've exceeded my knowledge of the viewer's internals. Has the report been posted for viewing or is it still in process? If it's not public, can you create a one page demo that exhibits the same problems? I think that might be helpful for troubleshooting.

more options

Sorry, that would have been helpful to begin with :)

The PDF in question can be found here: http://www.simpsonhousing.org/annualreport.html

The link is at the top of the page, under "Annual Report 2012." However, all of the PDFs listed on the site are displaying incorrectly, not just this one!

more options

After looking at this for quite a while, I have to admit I do not understand how the viewer works...

I did notice on page 5 that one of the blue rectangles is the correct color. If you examine your source document, can you see any reason why that might be?

more options

No reason any of the graphic elements should render differently, that's why it's so frustrating. All of the rectangles are the same color value and were created the same way in the source document.