Removes
/AP and sets /NeedAppearances true in the input PDF
| .gitignore | Initial commit | |
| fix-pdf-acroform.py | Initial commit | |
| LICENSE | Initial commit | |
| Makefile | Initial commit | |
| README.md | Initial commit | |
Fix PDF AcroForms
Works on PDF 1.4 idk about others.
Removes /AP and sets /NeedAppearances true in the input PDF.
Depends on pypdf but the makefile uses pipx to make a self contained binary with pyinstaller so you don't really need to install anything other than that. You can, of course, also run the script directly if you have pypdf in your env.
Usage
$ fix-pdf-acroform
Usage: fix-pdf-acroform input.pdf output.pdf