DOKK / manpages / debian 11 / texlive-binaries / ttfdump.1.en
TTFDUMP(1) General Commands Manual TTFDUMP(1)

ttfdump - Dumping the contents of a TrueType Font file

ttfdump [-h] [-t tablename] [-g glyphnumber] [-c collection] [-o dumpfile] [-i] ttfile

ttfdump dumps the contents of a TrueType font file in ASCII form. A TrueType font file is consist of various tables. Those table are divided into two categories - Required Tables and Optional Tables. Mulitiple TrueType fonts can be merged to a TrueType Collection.

Print a help message on standard output and exit.
If this option is specified then dump the table "tablename", otherwise dump every tables in ttfile. Tablename can be one of the following:
character to glyph mapping table
glyph data
font header
horizontal header
horizontal metrics
index to location
maximum profile
naming table
PostScript information
OS/2 and windows specific metrics
control value table
font program; not implemented yet.
grid-fitting and scan conversion procedure (grayscale)
horizontal device metrics
kerning table
Linear threshold table
CVT program; not implemented yet
PCL5 table
Vertical Device Metrics table
vertical metrics header
vertical metrics
glyph positioning table
glyph substitution table
If this option is specified then dump the glyph with index glyphnumber, otherwise dump all glyphs in ttfile.
Select a TrueType font in a TrueType Collection.
Output of the dump. If this option is not specified, dump to stdout.
TrueType font file to be dumped.

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

TrueType 1.0 Font Files, Technical Specification Revision 1.66 November 1995

Instruction disassembler in not implemented.

Li-Da Lho, ollie@ms1.hinet.net

14 November 2011 ILX Project