aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: ccdc1d86388168e6a5b3eb4d8dd44b23f4034462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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/