Debian Codegraph @

libs/xpdf/xpdf-src/doc/pdffonts.cat

raw
1 pdffonts(1) General Commands Manual pdffonts(1)
2
3
4
5 NAME
6 pdffonts - Portable Document Format (PDF) font analyzer (version 4.06)
7
8 SYNOPSIS
9 pdffonts [options] [PDF-file]
10
11 DESCRIPTION
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 in-
18 cluding 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 prob "X" if this font is likely to be problematic when converting
31 text to Unicode
32
33 object ID
34 the font dictionary object ID (number and generation)
35
36 location
37 the font location (see the -loc and -locPS options).
38
39 PDF files can contain the following types of fonts:
40
41 Type 1
42 Type 1C -- aka Compact Font Format (CFF)
43 Type 1C (OT) -- OpenType with 8-bit CFF data
44 Type 3
45 TrueType
46 TrueType (OT) -- OpenType with 8-bit TrueType data
47 CID Type 0 -- 16-bit font with no specified type
48 CID Type 0C -- 16-bit PostScript CFF font
49 CID Type 0C (OT) -- OpenType with CID CFF data
50 CID TrueType -- 16-bit TrueType font
51 CID TrueType (OT) -- OpenType with CID TrueType data
52
53 CONFIGURATION FILE
54 Pdffonts reads a configuration file at startup. It first tries to find
55 the user's private config file, ~/.xpdfrc. If that doesn't exist, it
56 looks for a system-wide config file, typically /etc/xpdfrc (but this
57 location can be changed when pdffonts is built). See the xpdfrc(5) man
58 page for details.
59
60 OPTIONS
61 Many of the following options can be set with configuration file com-
62 mands. These are listed in square brackets with the description of the
63 corresponding command line option.
64
65 -f number
66 Specifies the first page to analyze.
67
68 -loc Shows additional information on the location of the font that
69 will be used when the PDF file is rasterized (with xpdf,
70 pdftoppm, etc.).
71
72 -locPS Shows additional information on the location of the font that
73 will be used when the PDF file is converted to PostScript (with
74 pdftops).
75
76 -l number
77 Specifies the last page to analyze.
78
79 -opw password
80 Specify the owner password for the PDF file. Providing this
81 will bypass all security restrictions.
82
83 -upw password
84 Specify the user password for the PDF file.
85
86 -cfg config-file
87 Read config-file in place of ~/.xpdfrc or the system-wide config
88 file.
89
90 -v Print copyright and version information.
91
92 -h Print usage information. (-help and --help are equivalent.)
93
94 EXIT CODES
95 The Xpdf tools use the following exit codes:
96
97 0 No error.
98
99 1 Error opening a PDF file.
100
101 2 Error opening an output file.
102
103 3 Error related to PDF permissions.
104
105 98 Out of memory.
106
107 99 Other error.
108
109 AUTHOR
110 The pdffonts software and documentation are copyright 1996-2025 Glyph &
111 Cog, LLC.
112
113 SEE ALSO
114 xpdf(1), pdftops(1), pdftotext(1), pdftohtml(1), pdfinfo(1), pdfde-
115 tach(1), pdftoppm(1), pdftopng(1), pdfimages(1), xpdfrc(5)
116 http://www.xpdfreader.com/
117
118
119
120 14 Nov 2025 pdffonts(1)