為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Colors display incorrectly in Firefox PDF viewer

  • 6 回覆
  • 16 有這個問題
  • 10 次檢視
  • 最近回覆由 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.

所有回覆 (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.