Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.13 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.13 KB

enfleshen

Fill a PDF form non-interactively offline.

Prerequisites

Usage

make ${character}.pdf

Testing

make qa.xfdf qa.pdf

Motivation

macOS Preview.app can fill forms in PDFs. It also crashes way more than it should, typically in the middle of typing.

Use cases

D&D 5th Edition character sheet. Acquire the Fifth Edition Character Sheets from the official site and use the three-page model.

Other use cases

Acquire a form-fillable PDF as source.pdf.

pdftk source.pdf generate_fdf output target.fdf

Research what the listed form fields do in target.fdf. May require experimentation.

Write an XSL stylesheet that creates valid XFDF from a source XML document.

make ${output}.pdf STYLESHEET=stylesheet.xsl SOURCEPDF=source.pdf

License

GNU General Public License v3.0