Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Color PDFs viewing as black and white – This is a brand new problem!

  • 28 απαντήσεις
  • 5 έχουν αυτό το πρόβλημα
  • 119 προβολές
  • Τελευταία απάντηση από cor-el

more options

I noticed today that all my color PDFs are viewing as black and white. For years they were fine, presenting as color. This is a serious problem, as I am a graphic designer and have many PDFs on my portfolio. I am also seeing the same problem with PDFs linked to my clients' sites.

Images on PDFs are still in color. It's the flat color graphics created in InDesign exported to PDF. Oddly enough, gradients (originally created in InDesign as well) are still presenting as color, but only the gradients.

I do not have this problem in Safari, nor in other browsers, but Firefox has been my go-to browser for years. I never had a problem until I noticed today. Firefox updated two days ago. I'm on a Mac and I now have Firefox version 102.01, as it updates automatically.

Thank you for attending to this issue.

I noticed today that all my color PDFs are viewing as black and white. For years they were fine, presenting as color. This is a serious problem, as I am a graphic designer and have many PDFs on my portfolio. I am also seeing the same problem with PDFs linked to my clients' sites. Images on PDFs are still in color. It's the flat color graphics created in InDesign exported to PDF. Oddly enough, gradients (originally created in InDesign as well) are still presenting as color, but only the gradients. I do not have this problem in Safari, nor in other browsers, but Firefox has been my go-to browser for years. I never had a problem until I noticed today. Firefox updated two days ago. I'm on a Mac and I now have Firefox version 102.01, as it updates automatically. Thank you for attending to this issue.

Όλες οι απαντήσεις (8)

more options

@cor-el did you mean to rename prefs.js under the profile root directory (/Users/...../Library/Application Support/Firefox/Profiles/.....default-release-3/prefs.js)? I tried that, but it has no effect other than automatically generating a new prefs.js after I restart Firefox.

Χρήσιμο;

more options

The problem is still there in 103.

The problem is not the PDFs. They render perfectly fine in other browsers. It is with the latest two versions of Firefox (at least).

Χρήσιμο;

more options

I just found a solution that works for me. The issue is from this line in my prefs.js:

user_pref("browser.display.background_color", "#feffff");

Once I remove that line and restart Firefox, I can see colors in pdf files again!

Χρήσιμο;

more options

he.jia.phy said

I just found a solution that works for me. The issue is from this line in my prefs.js: user_pref("browser.display.background_color", "#feffff"); Once I remove that line and restart Firefox, I can see colors in pdf files again!

Okay, yes, if you turn off "System Colors" then having that very slightly off-white background color causes this problem. It's hard to image where that came from, and of course if you checked the Colors dialog, you wouldn't be able to tell at a glance that it was customized:

Very odd.

Χρήσιμο;

more options

There is a fix for this problem in Firefox 104. Until then, enabling "Use system colors" or using a plain white background is the workaround.

Χρήσιμο;

more options

For reference:

  • 1778068 - PDF Viewer should not set the background of PDF documents to browser.display.background_color

(please do not comment in bug reports
https://https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Χρήσιμο;

more options

jscher2000 – Thanks. I will wait for Firefox 104. It's not a problem for me, since I know my PDFs are perfectly fine... It's a problem when people I don't know are viewing my portfolio. This is a Firefox bug, and I am glad to see they will be fixing it.

Thanks again.

Χρήσιμο;

more options

You can try to set these two prefs:

  • pdfjs.pageColorsBackground => #FFF
  • pdfjs.pageColorsForeground => #000

Χρήσιμο;

  1. 1
  2. 2
Υποβολή ερώτησης

Πρέπει να συνδεθείτε στο λογαριασμό σας για να απαντήσετε στις δημοσιεύσεις. Παρακαλούμε ξεκινήστε μια νέα ερώτηση, αν δεν έχετε ήδη λογαριασμό.