pdf-surgeon
PLUGINModel-driven editor of PDF text whose result keeps the original typesetting, by rewriting the page content stream in place.
by Samuek9 · v1.0.1
What it does
Model-driven editor of PDF text whose result keeps the original typesetting, by rewriting the page content stream in place — the string operand inside the existing BT/ET block is replaced and the Tm origin of everything after it on the line is retargeted, so font, size, colour, baseline, char/word spacing, horizontal scale and kerning survive untouched because they are never rewritten. This is the alternative to redact-and-re-stamp, which defaults to Helvetica 8pt and makes you restate font, size and colour by hand; get any of that wrong and the page reads as forged.
Tools it adds
The tools an agent gets once this plugin is installed.
- pdf_replace_text
Review notes
What an owner reads and accepts before the install is approved.
- licence AGPL-3.0 (plugin/LICENSE) is not permissive
- the manifest lists python_dependencies pymupdf