Age | Commit message (Collapse) | Author |
|
|
|
Make `--find` and `--replace` options optional instead of required,
otherwise they cause errors when `--help` or `--version` are used
independently.
|
|
Doesn't capture input or I/O errors. Not bothering to return EX_NOINPUT
or EX_IOERR or EX_CANTCREAT because I don't want to bother creating an
error enum and variants for each case.
|
|
Remove `unwrap`s and add context to errors with 'anyhow'.
|
|
Allow the input PDF to be read from standard input, and the output PDF
to be written to standard output.
|
|
|
|
|
|
|
|
Rename to something that's more descriptive. This started out as just a
scratch space.
|
|
|
|
PDF form fields are `/DA` fields (PDF Reference page 534,
https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf).
Get all `/DA` objects. Their value is a string that specifies the
field's appearance properties. One part of the appearance string is the
font name (its Postscript name). By replacing the font name with a
different one, we can change the field's font.
|