1pdffonts(1) General Commands Manual pdffonts(1)
2
3
4
6 pdffonts - Portable Document Format (PDF) font analyzer (version 3.00)
7
9 pdffonts [options] [PDF-file]
10
12 Pdffonts lists the fonts used in a Portable Document Format (PDF) file
13 along with various information for each font.
14
15 The following information is listed for each font:
16
17 name the font name, exactly as given in the PDF file (potentially
18 including a subset prefix)
19
20 type the font type -- see below for details
21
22 emb "yes" if the font is embedded in the PDF file
23
24 sub "yes" if the font is a subset
25
26 uni "yes" if there is an explicit "ToUnicode" map in the PDF file
27 (the absence of a ToUnicode map doesn't necessarily mean that
28 the text can't be converted to Unicode)
29
30 object ID
31 the font dictionary object ID (number and generation)
32
33 PDF files can contain the following types of fonts:
34
35 Type 1
36 Type 1C -- aka Compact Font Format (CFF)
37 Type 3
38 TrueType
39 CID Type 0 -- 16-bit font with no specified type
40 CID Type 0C -- 16-bit PostScript CFF font
41 CID TrueType -- 16-bit TrueType font
42
44 Pdffonts reads a configuration file at startup. It first tries to find
45 the user's private config file, ~/.xpdfrc. If that doesn't exist, it
46 looks for a system-wide config file, /etc/xpdf/xpdfrc. See the
47 xpdfrc(5) man page for details.
48
50 Many of the following options can be set with configuration file com‐
51 mands. These are listed in square brackets with the description of the
52 corresponding command line option.
53
54 -f number
55 Specifies the first page to analyze.
56
57 -l number
58 Specifies the last page to analyze.
59
60 -opw password
61 Specify the owner password for the PDF file. Providing this
62 will bypass all security restrictions.
63
64 -upw password
65 Specify the user password for the PDF file.
66
67 -cfg config-file
68 Read config-file in place of ~/.xpdfrc or the system-wide config
69 file.
70
71 -v Print copyright and version information.
72
73 -h Print usage information. (-help and --help are equivalent.)
74
76 The Xpdf tools use the following exit codes:
77
78 0 No error.
79
80 1 Error opening a PDF file.
81
82 2 Error opening an output file.
83
84 3 Error related to PDF permissions.
85
86 99 Other error.
87
89 The pdffonts software and documentation are copyright 1996-2004 Glyph &
90 Cog, LLC.
91
93 xpdf(1), pdftops(1), pdftotext(1), pdfinfo(1), pdftoppm(1), pdfim‐
94 ages(1), xpdfrc(5)
95 http://www.foolabs.com/xpdf/
96
97
98
99 22 January 2004 pdffonts(1)