aboutsummaryrefslogtreecommitdiffstats
path: root/doc/pdf-form-replace-font.1
blob: 1cc6263ca18e5e43501ac2ea7d2162fedb075e45 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
'\" t
.\"     Title: pdf-form-replace-font
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: 05/05/2021
.\"    Manual: \ \&
.\"    Source: \ \&
.\"  Language: English
.\"
.TH "PDF\-FORM\-REPLACE\-" "1" "05/05/2021" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
pdf-form-replace-font \- Replace a font in a PDF form
.SH "SYNOPSIS"
.sp
\fBpdf\-form\-replace\-font\fR \-\-fill \fIoriginal_font\fR \-\-replace \fIreplacement_font\fR [options] [\fIpdf_file\fR]
.SH "DESCRIPTION"
.sp
Replace a font used in the input PDF\(cqs text form fields\&. If no input path is given, the PDF will be read from standard input\&.
.sp
Given a PostScript font name used in text fields in the input PDF, those fields will be changed to use the replacement typeface\&.
.SH "OPTIONS"
.PP
\-f, \-\-find
.RS 4
PostScript name of the font that will be replaced\&.
.RE
.PP
\-r, \-\-replace
.RS 4
PostScript name of the replacement font\&.
.RE
.PP
\-o, \-\-output
.RS 4
The output PDF path\&. If this option is not given, or if the value is given as "\-", the PDF will output to standard output\&.
.RE
.PP
\-h, \-\-help
.RS 4
Print usage help\&.
.RE
.PP
\-V, \-\-version
.RS 4
Print the program version\&.
.RE
.SH "LIMITATIONS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
The replacement font is not embedded in the output PDF\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Font size cannot be changed\&.
.RE