Linux Commands Examples

A great documentation place for Linux commands


Portable Document Format (PDF) font analyzer (version 3.03)

see also : pdfdetach - pdfimages - pdfinfo - pdftocairo - pdftohtml - pdftoppm - pdftops - pdftotext


pdffonts [options] [PDF-file]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


Pdffonts lists the fonts used in a Portable Document Format (PDF) file along with various information for each font.

The following information is listed for each font:


the font name, exactly as given in the PDF file (potentially including a subset prefix)


the font type -- see below for details


the font encoding


"yes" if the font is embedded in the PDF file


"yes" if the font is a subset


"yes" if there is an explicit "ToUnicode" map in the PDF file (the absence of a ToUnicode map doesn’t necessarily mean that the text can’t be converted to Unicode)

object ID

the font dictionary object ID (number and generation)

PDF files can contain the following types of fonts:

Type 1
Type 1C -- aka Compact Font Format (CFF)
Type 3
CID Type 0 -- 16-bit font with no specified type
CID Type 0C -- 16-bit PostScript CFF font
CID TrueType -- 16-bit TrueType font


-f number

Specifies the first page to analyze.

-l number

Specifies the last page to analyze.


List the substitute fonts that poppler will use for non embedded fonts.

-opw password

Specify the owner password for the PDF file. Providing this will bypass all security restrictions.

-upw password

Specify the user password for the PDF file.


Print copyright and version information.


Print usage information. (-help and --help are equivalent.)

exit codes

The Xpdf tools use the following exit codes:


No error.


Error opening a PDF file.


Error opening an output file.


Error related to PDF permissions.


Other error.

see also

pdfdetach , pdfimages , pdfinfo , pdftocairo , pdftohtml , pdftoppm , pdftops , pdftotext


The pdffonts software and documentation are copyright 1996-2011 Glyph & Cog, LLC.

How can this site be more helpful to YOU ?

give  feedback