1 | .\" Copyright 1999-2017 Glyph & Cog, LLC
|
---|
2 | .TH pdffonts 1 "10 Aug 2017"
|
---|
3 | .SH NAME
|
---|
4 | pdffonts \- Portable Document Format (PDF) font analyzer (version
|
---|
5 | 4.00)
|
---|
6 | .SH SYNOPSIS
|
---|
7 | .B pdffonts
|
---|
8 | [options]
|
---|
9 | .RI [ PDF-file ]
|
---|
10 | .SH DESCRIPTION
|
---|
11 | .B Pdffonts
|
---|
12 | lists the fonts used in a Portable Document Format (PDF) file along
|
---|
13 | with various information for each font.
|
---|
14 | .PP
|
---|
15 | The following information is listed for each font:
|
---|
16 | .TP
|
---|
17 | .B name
|
---|
18 | the font name, exactly as given in the PDF file (potentially including
|
---|
19 | a subset prefix)
|
---|
20 | .TP
|
---|
21 | .B type
|
---|
22 | the font type -- see below for details
|
---|
23 | .TP
|
---|
24 | .B emb
|
---|
25 | "yes" if the font is embedded in the PDF file
|
---|
26 | .TP
|
---|
27 | .B sub
|
---|
28 | "yes" if the font is a subset
|
---|
29 | .TP
|
---|
30 | .B uni
|
---|
31 | "yes" if there is an explicit "ToUnicode" map in the PDF file (the
|
---|
32 | absence of a ToUnicode map doesn't necessarily mean that the text
|
---|
33 | can't be converted to Unicode)
|
---|
34 | .TP
|
---|
35 | .B prob
|
---|
36 | "X" if this font is likely to be problematic when converting text to
|
---|
37 | Unicode
|
---|
38 | .TP
|
---|
39 | .B object ID
|
---|
40 | the font dictionary object ID (number and generation)
|
---|
41 | .TP
|
---|
42 | .B location
|
---|
43 | the font location (see the
|
---|
44 | .B \-loc
|
---|
45 | and
|
---|
46 | .B \-locPS
|
---|
47 | options).
|
---|
48 | .PP
|
---|
49 | PDF files can contain the following types of fonts:
|
---|
50 | .PP
|
---|
51 | .RS
|
---|
52 | Type 1
|
---|
53 | .RE
|
---|
54 | .RS
|
---|
55 | Type 1C -- aka Compact Font Format (CFF)
|
---|
56 | .RE
|
---|
57 | .RS
|
---|
58 | Type 1C (OT) -- OpenType with 8-bit CFF data
|
---|
59 | .RE
|
---|
60 | .RS
|
---|
61 | Type 3
|
---|
62 | .RE
|
---|
63 | .RS
|
---|
64 | TrueType
|
---|
65 | .RE
|
---|
66 | .RS
|
---|
67 | TrueType (OT) -- OpenType with 8-bit TrueType data
|
---|
68 | .RE
|
---|
69 | .RS
|
---|
70 | CID Type 0 -- 16-bit font with no specified type
|
---|
71 | .RE
|
---|
72 | .RS
|
---|
73 | CID Type 0C -- 16-bit PostScript CFF font
|
---|
74 | .RE
|
---|
75 | .RS
|
---|
76 | CID Type 0C (OT) -- OpenType with CID CFF data
|
---|
77 | .RE
|
---|
78 | .RS
|
---|
79 | CID TrueType -- 16-bit TrueType font
|
---|
80 | .RE
|
---|
81 | .RS
|
---|
82 | CID TrueType (OT) -- OpenType with CID TrueType data
|
---|
83 | .RE
|
---|
84 | .SH CONFIGURATION FILE
|
---|
85 | Pdffonts reads a configuration file at startup. It first tries to
|
---|
86 | find the user's private config file, ~/.xpdfrc. If that doesn't
|
---|
87 | exist, it looks for a system-wide config file, typically
|
---|
88 | /usr/local/etc/xpdfrc (but this location can be changed when pdffonts
|
---|
89 | is built). See the
|
---|
90 | .BR xpdfrc (5)
|
---|
91 | man page for details.
|
---|
92 | .SH OPTIONS
|
---|
93 | Many of the following options can be set with configuration file
|
---|
94 | commands. These are listed in square brackets with the description of
|
---|
95 | the corresponding command line option.
|
---|
96 | .TP
|
---|
97 | .BI \-f " number"
|
---|
98 | Specifies the first page to analyze.
|
---|
99 | .TP
|
---|
100 | .B \-loc
|
---|
101 | Shows additional information on the location of the font that will be
|
---|
102 | used when the PDF file is rasterized (with xpdf, pdftoppm, etc.).
|
---|
103 | .TP
|
---|
104 | .B \-locPS
|
---|
105 | Shows additional information on the location of the font that will be
|
---|
106 | used when the PDF file is converted to PostScript (with pdftops).
|
---|
107 | .TP
|
---|
108 | .BI \-l " number"
|
---|
109 | Specifies the last page to analyze.
|
---|
110 | .TP
|
---|
111 | .BI \-opw " password"
|
---|
112 | Specify the owner password for the PDF file. Providing this will
|
---|
113 | bypass all security restrictions.
|
---|
114 | .TP
|
---|
115 | .BI \-upw " password"
|
---|
116 | Specify the user password for the PDF file.
|
---|
117 | .TP
|
---|
118 | .BI \-cfg " config-file"
|
---|
119 | Read
|
---|
120 | .I config-file
|
---|
121 | in place of ~/.xpdfrc or the system-wide config file.
|
---|
122 | .TP
|
---|
123 | .B \-v
|
---|
124 | Print copyright and version information.
|
---|
125 | .TP
|
---|
126 | .B \-h
|
---|
127 | Print usage information.
|
---|
128 | .RB ( \-help
|
---|
129 | and
|
---|
130 | .B \-\-help
|
---|
131 | are equivalent.)
|
---|
132 | .SH EXIT CODES
|
---|
133 | The Xpdf tools use the following exit codes:
|
---|
134 | .TP
|
---|
135 | 0
|
---|
136 | No error.
|
---|
137 | .TP
|
---|
138 | 1
|
---|
139 | Error opening a PDF file.
|
---|
140 | .TP
|
---|
141 | 2
|
---|
142 | Error opening an output file.
|
---|
143 | .TP
|
---|
144 | 3
|
---|
145 | Error related to PDF permissions.
|
---|
146 | .TP
|
---|
147 | 99
|
---|
148 | Other error.
|
---|
149 | .SH AUTHOR
|
---|
150 | The pdffonts software and documentation are copyright 1996-2017 Glyph
|
---|
151 | & Cog, LLC.
|
---|
152 | .SH "SEE ALSO"
|
---|
153 | .BR xpdf (1),
|
---|
154 | .BR pdftops (1),
|
---|
155 | .BR pdftotext (1),
|
---|
156 | .BR pdftohtml (1),
|
---|
157 | .BR pdfinfo (1),
|
---|
158 | .BR pdfdetach (1),
|
---|
159 | .BR pdftoppm (1),
|
---|
160 | .BR pdftopng (1),
|
---|
161 | .BR pdfimages (1),
|
---|
162 | .BR xpdfrc (5)
|
---|
163 | .br
|
---|
164 | .B http://www.xpdfreader.com/
|
---|