aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
AgeCommit message (Collapse)Author
2021-05-06Increase version v0.0.1 -> v0.0.2HEADv0.0.2masterTeddy Wing
2021-05-04Add sysexits exit codeTeddy Wing
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.
2021-05-04Add context to errorsTeddy Wing
Remove `unwrap`s and add context to errors with 'anyhow'.
2021-05-04Get variables from command line argumentsTeddy Wing
2021-05-03Rename project to `pdf-form-replace-font`Teddy Wing
Rename to something that's more descriptive. This started out as just a scratch space.
2021-05-02Change version to v0.0.1Teddy Wing
2021-05-02Proof of concept to replace PDF form fields' fontTeddy Wing
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.