Debian Codegraph @

texmf-dist/doc/man/man1/ttfdump.1

raw
1 .TH TTFDUMP 1 "14 September 2025" "TeX Live"
2 .SH NAME
3 ttfdump \- Dumping the contents of a TrueType Font file
4 .SH SYNOPSIS
5 .B ttfdump
6 .RB [ \-h ]
7 .RB [ \-t
8 .IR tablename ]
9 .RB [ \-g
10 .IR glyphnumber ]
11 .RB [ \-c
12 .IR collection ]
13 .RB [ \-o
14 .IR dumpfile ]
15 .RB [ \-i ]
16 .I ttfile
17 .SH DESCRIPTION
18 \fBttfdump\fP dumps the contents of a TrueType font file in ASCII form.
19 A TrueType font file is consist of various tables. Those table are divided into
20 two categories - \fIRequired Tables\fP and \fIOptional Tables\fP. Mulitiple
21 TrueType fonts can be merged to a TrueType Collection.
22 .SS Options
23 .TP
24 \fB-h\fP
25 Print a help message on standard output and exit.
26 .TP
27 \fB-t\fI tablename\fR
28 If this option is specified then dump the table \fI"tablename"\fP, otherwise
29 dump every tables in \fIttfile\fP.
30 \fITablename\fP can be one of the following:
31 .RS
32 .TP
33 \fBRequired Tables\fR
34 .TP
35 \fIcmap\fP
36 character to glyph mapping table
37 .TP
38 \fIglyf\fP
39 glyph data
40 .TP
41 \fIhead\fP
42 font header
43 .TP
44 \fIhhea\fP
45 horizontal header
46 .TP
47 \fIhmtx\fP
48 horizontal metrics
49 .TP
50 \fIloca\fP
51 index to location
52 .TP
53 \fImaxp\fP
54 maximum profile
55 .TP
56 \fIname\fP
57 naming table
58 .TP
59 \fIpost\fP
60 PostScript information
61 .TP
62 \fIOS/2\fP
63 OS/2 and windows specific metrics
64 .TP
65 \fBOptional Tables\fR
66 .TP
67 \fIcvt\fP
68 control value table
69 .TP
70 \fIfpgm\fP
71 font program; \fInot implemented yet.\fP
72 .TP
73 \fIgasp\fP
74 grid-fitting and scan conversion procedure (grayscale)
75 .TP
76 \fIhdmx\fP
77 horizontal device metrics
78 .TP
79 \fIkern\fP
80 kerning table
81 .TP
82 \fILTSH\fP
83 Linear threshold table
84 .TP
85 \fIprep\fP
86 CVT program; \fInot implemented yet\fP
87 .TP
88 \fIPCLT\fP
89 PCL5 table
90 .TP
91 \fIVDMX\fP
92 Vertical Device Metrics table
93 .TP
94 \fIvhea\fP
95 vertical metrics header
96 .TP
97 \fIvmtx\fP
98 vertical metrics
99 .TP
100 \fBAdditional OpenType Tables\fR
101 .TP
102 \fIGPOS\fP
103 glyph positioning table
104 .TP
105 \fIGSUB\fP
106 glyph substitution table
107 .RE
108 .TP
109 \fB-g\fI glyphnumber\fR
110 If this option is specified then dump the glyph with index \fIglyphnumber\fP,
111 otherwise dump all glyphs in \fIttfile\fP.
112 .TP
113 \fB-c\fI collection\fR
114 Select a TrueType font in a TrueType Collection.
115 .TP
116 \fB-o\fI dumpfile\fR
117 Output of the dump. If this option is not specified, dump to stdout.
118 .TP
119 \fB-i\fI ttfile\fR
120 TrueType font file to be dumped.
121 .RE
122 .SH EXAMPLE
123 To dump all information in the TrueType font file times.ttf:
124 .RS
125 ttfdump times.ttf
126 .RE
127
128 To dump the required table \fIcmap\fP in the file:
129 .RS
130 ttfdump -t cmap times.ttf
131 .RE
132
133 To dump a single glyph with index 50:
134 .RS
135 ttfdump -g 50 times.ttf
136 .RE
137
138 .SH SEE ALSO
139 TrueType 1.0 Font Files, \fI Technical Specification Revision 1.66 November 1995\fR
140 .SH NOTE
141 Instruction disassembler in not implemented.
142 .SH AUTHOR
143 Li-Da Lho
144 .PP
145 Currently maintained as part of TeX Live; email bug reports to
146 [email protected]..