TTFDUMP(1)
π ttfdump β¨ (TTFDUMP(1), General Commands Manual)
okay bestie, this is the manual page for ttfdump π it's a General Commands Manual thing, and it's literally the tool for peeking inside TrueType font files π
π§ NAME
- ttfdump β dumping the contents of a TrueType Font file π
πΈ SYNOPSIS
ttfdump [-h] [-t tablename] [-g glyphnumber] [-c collection] [-o
dumpfile] [-i] ttfile
π DESCRIPTION
okay so ttfdump takes a TrueType font file and dumps everything inside it as ASCII text π«Ά a TrueType font file is made up of a bunch of tables, and those tables come in two flavors: Required Tables and Optional Tables β¨ you can also merge multiple TrueType fonts together into a TrueType Collection π¦ it's giving organized wardrobe energy π
β¨ OPTIONS β¨
-hβ print a help message to standard output and exit π-t tablenameβ if you pass this, ttfdump only dumps the table you name. if you don't, it dumps every single table inttfileπ here's what you can pick from:
π Required Tables
cmapβ the character to glyph mapping table πΊοΈglyfβ glyph data π€headβ font header πhheaβ horizontal header βοΈhmtxβ horizontal metrics πlocaβ index to location πmaxpβ maximum profile πͺnameβ naming table π·οΈpostβ PostScript information π¨οΈOS/2β OS/2 and Windows specific metrics πͺ
π Optional Tables
cvtβ control value table ποΈfpgmβ font program; not implemented yet πgaspβ grid-fitting and scan conversion procedure (grayscale) π©Άhdmxβ horizontal device metrics πkernβ kerning table πLTSHβ linear threshold table π‘οΈprepβ CVT program; not implemented yet πPCLTβ PCL5 table π¨οΈVDMXβ Vertical Device Metrics table πvheaβ vertical metrics header β¬οΈvmtxβ vertical metrics π
π¦ Additional OpenType Tables
GPOSβ glyph positioning table πGSUBβ glyph substitution table π
-g glyphnumberβ if you pass this, ttfdump dumps just the glyph at that index. otherwise it dumps every glyph inttfileπ-c collectionβ picks one TrueType font out of a TrueType Collection π-o dumpfileβ sends the dump intodumpfileinstead of the screen. if you skip this, it goes to stdout π-i ttfileβ the TrueType font file you want dumped π«§
π EXAMPLE
to dump all the info in the TrueType font file times.ttf:
ttfdump times.ttf
to dump just the required cmap table from that file:
ttfdump -t cmap times.ttf
to dump a single glyph with index 50:
ttfdump -g 50 times.ttf
π¦ SEE ALSO
- TrueType 1.0 Font Files, Technical Specification Revision 1.66, November 1995 π
π NOTE
β οΈ bestie, heads up: the instruction disassembler is not implemented π
π§ AUTHOR
- Li-Da Lho, ollie@ms1.hinet.net π
and that's the tea π«Ά this was the ttfdump manual from the ILX Project, last updated 14 November 2011 π slay the fonts responsibly β¨π
π¦ where this page comes from
- alpine 3.24: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- debian bookworm: texlive-binaries 2022.20220321.62855-5.1+deb12u2
- debian trixie: texlive-binaries 2024.20240313.70630+ds-6 Β· TeX-Live
- epel 10: texlive-ttfutils 13:20240311-10.el10_3 Β· LPPL-1.3c
- epel 9: texlive-ttfutils 9:20200406-38.el9 Β· LPPL
- fedora 43: texlive-ttfutils 11:svn66186-93.fc43 Β· LPPL-1.3c
- fedora 43: texlive-ttfutils 11:svn66186-95.fc43.1 Β· LPPL-1.3c
- fedora 44: texlive-ttfutils 12:svn77830-105.fc44 Β· LPPL-1.3c
- fedora 44: texlive-ttfutils 12:svn77830-111.fc44 Β· LPPL-1.3c
- opensuse-leap 16.0: texlive-ttfutils-doc 2025.221.svn73908-160000.3.1 Β· LPPL-1.0
- ubuntu jammy: texlive-binaries 2021.20210626.59705-1build1
- ubuntu jammy: texlive-binaries 2021.20210626.59705-1ubuntu0.3
- ubuntu noble: texlive-binaries 2023.20230311.66589-9build3 Β· TeX-Live
- ubuntu questing: texlive-binaries 2024.20240313.70630+ds-6ubuntu2 Β· TeX-Live
- ubuntu resolute: texlive-binaries 2025.20250727.75242+ds-5build1 Β· TeX-Live
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms