Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a PDF file, and occasionally, there appear black filled boxes across the width of the page. The strange thing is, that when I mark the area and hit 'copy' and then paste it in a text editor, the text that's hidden inside the black boxes appear!

I tried two different PDF viewers (Adobe and SumatraPDF) and they both present the file with I also searched for online PDF repairers but they only handle corrupted PDF file which cannot be opened. I also thought about converting to PostScript and fiddle with the source code and recompile but I don't know anything about it.

So, how do I fix it?

enter image description here

share|improve this question
It's most likely not broken, but a computer illiterate tried to black out some parts of the document. This depends of course on what document it is, where you got it from, and what you get by selecting ad copying the text below the black boxes. They're just black rectangles over the text. Get a PDF editor to fix this. – Daniel Beck Dec 27 '11 at 15:24
@daniel Can you recommend one? Is there an editor that can automatically fix all of the boxes? – Leif Ericson Dec 27 '11 at 21:45
There will probably be no editor that can automatically fix this. It's an image (or form) overlaid over text. There are enough documents where this might make sense, e.g. with partial transparency. Googling produces the Foxit PDF editor that is able to edit existing documents AFAICT. I've heard good feedback about their free PDF viewer. You can use the search function on this site, I'm sure it was asked before how to edit PDFs. – Daniel Beck Dec 27 '11 at 21:50

Go to Edit > Preferences > Accessibility and remove the tick from "Replace document colors".

This is it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .