This shows you the differences between two versions of the page.
— |
replace_text_in_pdf_files [2020/06/01 22:53] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Replace Text in PDF Files ====== | ||
+ | * Use pdftk to uncompress PDF page streams | ||
+ | |||
+ | pdftk original.pdf output original.clear.pdf uncompress | ||
+ | |||
+ | * Replace the text (sometimes this works, sometimes it doesn't). | ||
+ | |||
+ | * Repair the modified (and now broken) PDF | ||
+ | |||
+ | pdftk original.clear.pdf output original.clear.fixed.pdf |