TTFDUMP(1)
π ttfdump(1) β the group chat guide
okay so bestie, welcome to ttfdump, a General Commands Manual icon β¨ β she's the one who dumps the contents of a TrueType Font file, and honestly? she ate. π
β¨ NAME β¨
ttfdump β dumping the contents of a TrueType Font file. yes, that's literally the whole job and she does it flawlessly π«Ά
πΈ SYNOPSIS πΈ
ttfdump [-h] [-t tablename] [-g glyphnumber] [-c collection] [-o
dumpfile] [-i] ttfile
π¦ DESCRIPTION π¦
so ttfdump dumps the contents of a TrueType font file in ASCII form π. a TrueType font file is consist of various tables (their words, not mine, but the facts stay facts π
). those table are divided into two categories β Required Tables and Optional Tables. also! mulitiple TrueType fonts can be merged to a TrueType Collection π.
π Options
-hβ print a help message on standard output and exit. short, sweet, iconic π-t tablenameβ if this option is specified then dump the tabletablename, otherwise dump every tables inttfile.tablenamecan be one of the following:
π Required Tables
cmapβ character to glyph mapping tableglyfβ glyph dataheadβ font headerhheaβ horizontal headerhmtxβ horizontal metricslocaβ index to locationmaxpβ maximum profilenameβ naming tablepostβ PostScript informationOS/2β OS/2 and windows specific metrics
π Optional Tables
cvtβ control value tablefpgmβ font program; not implemented yet.gaspβ grid-fitting and scan conversion procedure (grayscale)hdmxβ horizontal device metricskernβ kerning tableLTSHβ Linear threshold tableprepβ CVT program; not implemented yetPCLTβ PCL5 tableVDMXβ Vertical Device Metrics tablevheaβ vertical metrics headervmtxβ vertical metrics
β Additional OpenType Tables
GPOSβ glyph positioning tableGSUBβ glyph substitution table
-g glyphnumberβ if this option is specified then dump the glyph with indexglyphnumber, otherwise dump all glyphs inttfile. one glyph or the whole squad, your call π-c collectionβ select a TrueType font in a TrueType Collection. picking your main character out of the lineup fr fr π-o dumpfileβ output of the dump. if this option is not specified, dump tostdout. no cap π§-i ttfileβ TrueType font file to be dumped.
π₯ EXAMPLE π₯
to dump all information in the TrueType font file times.ttf:
ttfdump times.ttf
to dump the required table cmap in the 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 β the lore, the source material, the required reading π
π NOTE π
Instruction disassembler in not implemented. π (their words! keeping it 100)
π AUTHOR π
Li-Da Lho β legend behavior π
currently maintained as part of TeX Live; email bug reports to tex-k@tug.org.. β yes, that's two dots, I'm not fixing it, facts are facts bestie π«Ά
and that's the whole vibe check! this page is brought to you by TeX Live and dated 14 September 2025 β periodt, slay, lowkey iconic, go dump some fonts πβ¨π
π¦ where this page comes from
- alpine 3.24: texmf-dist-fontutils-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms