Skip to main content
Solved

black out text in pdf


vki
Contributor
Forum|alt.badge.img+7
  • Contributor

I have many pdfs that are structured in exactly the same way.
At a certain place I have to black out the text.

My rough idea:
- pdf-reader: define the search envelope so that only the text that has to be blacked out is read in
- place black polygons at the position of the text
- rewrite the pdf as a whole, with the polygons overlaying the text

Is this feasible in FME ?
 

Best answer by redgeographics

vki wrote:

Thanks.

Obviously, FME is not the right tool to solve this task then...

I wouldn’t say that, but rather than blacking out the text you should completely remove if from the file.

View original
Did this help you find an answer to your question?

david_r
Evangelist

It might be feasible, but is this supposed to prevent people from seeing the blacked out words? I’m asking as I’ve encountered similar pdfs before, and it was very easy to simply select and delete the black boxes in Acrobat, revealing all the words beneath...


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • April 1, 2025

Adding to what ​@david_r  says above, if the text still exists beneath the black box, users can simply select and copy the text, and paste it in Notepad (or a similar program) to read it.

I just did a quick test: opening such a PDF in Microsoft Word will remove the black boxes and just show all text.


redgeographics
Celebrity
Forum|alt.badge.img+49
david_r wrote:

It might be feasible, but is this supposed to prevent people from seeing the blacked out words? I’m asking as I’ve encountered similar pdfs before, and it was very easy to simply select and delete the black boxes in Acrobat, revealing all the words beneath...

I agree, I’m pretty confident it would be possible to find those original text objects if you dig down into the file with Acrobat Pro or Illustrator.

Better option would be to remove those texts and then rewrite the PDF.


vki
Contributor
Forum|alt.badge.img+7
  • Contributor
  • April 1, 2025

I haven’t used the pdf-writer yet. How easy is it to lay out text? The pdf must look like the original pdfs at the end, just with some text blacked out.


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • April 1, 2025

It should not be about people not seeing the text, it should be about people not being able to access the text. So the text should not be present in the PDF at all. Just putting a black box over the text will not accomplish that.


vki
Contributor
Forum|alt.badge.img+7
  • Contributor
  • April 7, 2025

Thanks.

Obviously, FME is not the right tool to solve this task then...


redgeographics
Celebrity
Forum|alt.badge.img+49
vki wrote:

Thanks.

Obviously, FME is not the right tool to solve this task then...

I wouldn’t say that, but rather than blacking out the text you should completely remove if from the file.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings