blob: e2c7930d353a83c84beb9f5dbfce2fb4003c9ea4 (
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
32
33
34
35
|
pdf-form-replace-font
=====================
Replace a given font in a PDF’s text fields with a different one.
## Usage
The following command replaces Helvetica with Courier New (font names are
specified by their PostScript names):
$ pdf-form-replace-font \
--find HelveticaLTStd-Bold \
--replace CourierNewPSMT \
--output f1040-courier.pdf \
f1040.pdf
## Install
On Mac OS X, PDF-Form-Replace-Font can be installed with Homebrew:
$ brew install teddywing/formulae/pdf-form-replace-font
To compile from source or install on other platforms:
$ cargo install --git https://github.com/teddywing/pdf-form-replace-font.git
## Uninstall
$ cargo uninstall pdf-form-replace-font
## License
Copyright © 2021 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
COPYING file).
|