1TTFDUMP(1) General Commands Manual TTFDUMP(1)
2
3
4
6 ttfdump - Dumping the contents of a TrueType Font file
7
9 ttfdump [-h] [-t tablename] [-g glyphnumber] [-c collection] [-o dump‐
10 file] [-i] ttfile
11
13 ttfdump dumps the contents of a TrueType font file in ASCII form. A
14 TrueType font file is consist of various tables. Those table are
15 divided into two categories - Required Tables and Optional Tables.
16 Mulitiple TrueType fonts can be merged to a TrueType Collection.
17
18 Options
19 -h Print a help message on standard output and exit.
20
21 -t tablename
22 If this option is specified then dump the table "tablename",
23 otherwise dump every tables in ttfile. Tablename can be one of
24 the following:
25
26 Required Tables
27
28 cmap character to glyph mapping table
29
30 glyf glyph data
31
32 head font header
33
34 hhea horizontal header
35
36 hmtx horizontal metrics
37
38 loca index to location
39
40 maxp maximum profile
41
42 name naming table
43
44 post PostScript information
45
46 OS/2 OS/2 and windows specific metrics
47
48 Optional Tables
49
50 cvt control value table
51
52 fpgm font program; not implemented yet.
53
54 gasp grid-fitting and scan conversion procedure (grayscale)
55
56 hdmx horizontal device metrics
57
58 kern kerning table
59
60 LTSH Linear threshold table
61
62 prep CVT program; not implemented yet
63
64 PCLT PCL5 table
65
66 VDMX Vertical Device Metrics table
67
68 vhea vertical metrics header
69
70 vmtx vertical metrics
71
72 Additional OpenType Tables
73
74 GPOS glyph positioning table
75
76 GSUB glyph substitution table
77
78 -g glyphnumber
79 If this option is specified then dump the glyph with index
80 glyphnumber, otherwise dump all glyphs in ttfile.
81
82 -c collection
83 Select a TrueType font in a TrueType Collection.
84
85 -o dumpfile
86 Output of the dump. If this option is not specified, dump to
87 stdout.
88
89 -i ttfile
90 TrueType font file to be dumped.
91
93 To dump all information in the TrueType font file times.ttf:
94 ttfdump times.ttf
95
96 To dump the required table cmap in the file:
97 ttfdump -t cmap times.ttf
98
99 To dump a single glyph with index 50:
100 ttfdump -g 50 times.ttf
101
102
104 TrueType 1.0 Font Files, Technical Specification Revision 1.66 Novem‐
105 ber 1995
106
108 Instruction disassembler in not implemented.
109
111 Li-Da Lho, ollie@ms1.hinet.net
112
113
114
115ILX Project 14 November 2011 TTFDUMP(1)