Hi,

There was a somewhat related thread a week or two ago... you need to find the operators that set a color, and then change their parameters. The difficulty is that there are quite a lot (see PDF specification, it's g, rg, k, sc, scn, maybe more). You should look at the content stream with PDFDebugger, and hover over the operator and it will display the color.

Tilman

Am 27.08.2020 um 18:30 schrieb Gilad Denneboom:
Hi all,

I know this is a long shot, but is there any way to change the font color
of all static text elements in a PDF file using PDFBox? I played around
with some examples I found for processing text (like RemoveAllText), but I
don't see a way to use them to edit existing text. Any help would be
appreciated!

Thanks, Gilad.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to