News for hackers. Stuff that matters.
Re:So you want to modify the text of a PDF by hand by jordann on Monday September 04, 2023 @06:42PM (#37385845)
If you don't mind using java, you can use the open source Apache PDFBox library

https://pdfbox.apache.org/

It's relatively performant and it's a mature and supported codebase that can accomplish most pdf tasks.

Re:So you want to modify the text of a PDF by hand by Drakinte on Tuesday September 05, 2023 @04:23AM (#37389192)
Except text substitution

https://pdfbox.apache.org/2.0/migration.html#why-was-the-rep...

> ReplaceText example has been removed as it gave the incorrect illusion that text can be replaced easily