From a4a3dbefcd2aa87b871414c30b63dad3992141a7 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 26 Apr 2023 19:20:51 +0200 Subject: Add README --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ccdc1d8 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +pdf-form-replace-font2 +====================== + +Replace a given font in a PDF form’s fields with a different one. + +This is a rewrite of [pdf-form-replace-font] using the [iText7] PDF library. The +result is more robust than the original PDF-Form-Replace-Font. + + +## Usage +The following command replaces Helvetica with Courier New (font names are +specified by their PostScript names): + + $ pdf-form-replace-font2 \ + --find HelveticaLTStd-Bold \ + --replace CourierNewPSMT \ + --output f1040-courier.pdf \ + f1040.pdf + + +## Install +TODO + + +## License +Copyright © 2023 Teddy Wing. Licensed under the GNU GPLv3+ (see the included +COPYING file). + + +[pdf-form-replace-font]: https://github.com/teddywing/pdf-form-replace-font/ +[iText7]: https://itextpdf.com/ -- cgit v1.2.3