pdffonts(1)
β¨ NAME β¨
okay so pdffonts(1) is part of the General Commands Manual π and its whole job is being a Portable Document Format (PDF) font analyzer, version 3.03 π
π§ SYNOPSIS π§
pdffonts [options] [PDF-file]
π DESCRIPTION π
okay bestie, pdffonts lists every font used in a Portable Document Format (PDF) file, plus a bunch of info about each one π¦
if PDF-file is Β΄-', it reads the PDF from stdin instead π«Ά
here's what you get for each font:
nameβ the font name exactly as it appears in the PDF, subset prefix and all if it has one β¨typeβ the font type (more on those below) πΈencodingβ the font encoding πembβ"yes"if the font is embedded in the PDF π₯subβ"yes"if the font is a subset πuniβ"yes"if there's an explicit"ToUnicode"map in the PDF. ngl, no ToUnicode map doesn't automatically mean the text can't be converted to Unicode, so don't panic πobject IDβ the font dictionary object ID, as a number and a generation π
PDF files can hold these font types:
Type 1Type 1Cβ aka Compact Font Format (CFF) πType 3TrueTypeCID Type 0β 16-bit font with no specified type π¦CID Type 0Cβ 16-bit PostScript CFF font βCID TrueTypeβ 16-bit TrueType font π
π OPTIONS π
-f numberβ picks the first page to analyze πΈ-l numberβ picks the last page to analyze πΈ-substβ lists the substitute fonts that poppler will use for fonts that aren't embedded β¨-opw passwordβ sets the owner password for the PDF. heads up, giving this bypasses all security restrictions, so it's giving main character energy but also a little risky π₯-upw passwordβ sets the user password for the PDF π-vβ prints copyright and version info π-hβ prints usage info.-helpand--helpdo the exact same thing π«Ά
π¦ EXIT CODES π¦
the Xpdf tools use these exit codes:
0β no error, we're literally good π1β couldn't open a PDF file π2β couldn't open an output file π3β error related to PDF permissions π99β some other error π
π AUTHOR π
the pdffonts software and documentation are copyright 1996β2011 Glyph & Cog, LLC. iconic history, no cap β¨
π SEE ALSO π
okay bestie, check out these friends too:
pdfdetach(1),pdfimages(1),pdfinfo(1),pdftocairo(1),pdftohtml(1),pdftoppm(1),pdftops(1),pdftotext(1),pdfseparate(1),pdfsig(1),pdfunite(1)π¦
bye bestie π«Ά that's the pdffonts(1) tea, last updated 15 August 2011 πβ¨
π¦ where this page comes from
- alpine 3.22: poppler-doc 25.04.0-r0 Β· GPL-2.0-or-later
- alpine 3.23: poppler-doc 25.12.0-r0 Β· GPL-2.0-or-later
- alpine 3.24: poppler-doc 25.12.0-r1 Β· GPL-2.0-or-later
- arch rolling: poppler 26.10.0-2 Β· GPL-2.0-only AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND HPND-sell-variant
- centos-stream 10: poppler-utils 24.02.0-10.el10 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- centos-stream 9: poppler-utils 21.01.0-26.el9 Β· (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
- debian bookworm: poppler-utils 22.12.0-2+deb12u2 Β· GPL-2.0-only OR GPL-3.0-only
- debian bookworm: poppler-utils 22.12.0-2+deb12u3 Β· GPL-2.0-only OR GPL-3.0-only
- debian trixie: poppler-utils 25.03.0-5+deb13u3 Β· GPL-2.0-only OR GPL-3.0-only
- debian trixie: poppler-utils 25.03.0-5+deb13u4 Β· GPL-2.0-only OR GPL-3.0-only
- fedora 43: poppler-utils 25.07.0-2.fc43 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- fedora 43: poppler-utils 25.07.0-5.fc43 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- fedora 44: poppler-utils 26.01.0-3.fc44 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
- nixos 26.05: poppler-utils 26.10.0
- nixpkgs unstable: poppler-utils 26.10.0
- opensuse-leap 16.0: poppler-tools 25.04.0-160000.4.1 Β· GPL-2.0-only OR GPL-3.0-only
- opensuse-leap 16.0: poppler-tools 25.04.0-160000.4.1 Β· GPL-2.0-only OR GPL-3.0-only
- opensuse-leap 16.0: poppler-tools 25.04.0-160000.4.1 Β· GPL-2.0-only OR GPL-3.0-only
- opensuse-leap 16.0: poppler-tools 25.04.0-160000.4.1 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu jammy: poppler-utils 22.02.0-2 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu jammy: poppler-utils 22.02.0-2ubuntu0.14
- ubuntu jammy: poppler-utils 22.02.0-2ubuntu0.15 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu noble: poppler-utils 24.02.0-1ubuntu9 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu noble: poppler-utils 24.02.0-1ubuntu9.10
- ubuntu noble: poppler-utils 24.02.0-1ubuntu9.11 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu questing: poppler-utils 25.03.0-10
- ubuntu questing: poppler-utils 25.03.0-10ubuntu0.2 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu resolute: poppler-utils 26.01.0-2build2 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu resolute: poppler-utils 26.01.0-2ubuntu0.2
- ubuntu resolute: poppler-utils 26.01.0-2ubuntu0.3 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu stonking: poppler-utils 26.07.0-2ubuntu1 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu stonking: poppler-utils 26.07.0-2ubuntu1.1 Β· GPL-2.0-only OR GPL-3.0-only
- Copyright 1999-2011 Glyph & Cog, LLC
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms