We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Colors display incorrectly in Firefox PDF viewer

  • 6 odgovorov
  • 16 ima to težavo
  • 10 ogledov
  • Zadnji odgovor od 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.

Vsi odgovori (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.