Debian Codegraph @

texk/ttfdump/docs/ttfdump.html

raw symbols SCIP
1 <!-- manual page source format generated by PolyglotMan v3.0.9, -->
2 <!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
3
4 <HTML>
5 <HEAD>
6 <TITLE> manual page</TITLE>
7 </HEAD>
8 <BODY bgcolor=white>
9 <A HREF="#toc">Table of Contents</A><P>
10
11 <H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
12 ttfdump - Dumping the contents of a TrueType Font file
13 <H2><A NAME="sect1" HREF="#toc1">Synopsis</A></H2>
14 <B>ttfdump</B>
15 [-h] [-t <I>tablename</I>] [-g <I>glyphnumber</I>] [-c <I>collection</I>] [-i] <I>ttfile</I> [-o <I>dumpfile</I>]
16
17 <H2><A NAME="sect2" HREF="#toc2">Description</A></H2>
18 <B>ttfdump</B> dumps the contents of a TrueType font file in ASCII
19 form. A TrueType font file is consist of various tables. Those table are
20 divided into two categories - <I>Required Tables</I> and <I>Optional Tables</I>. Mulitiple
21 TrueType fonts and be merged to a TrueType Collection.
22 <H3><A NAME="sect3" HREF="#toc3">Options</A></H3>
23
24 <DL>
25
26 <DT><B>-h</B> </DT>
27 <DD>Print a
28 help message on standard output and exit. </DD>
29
30 <DT><B>-t<I> tablename</I></B> </DT>
31 <DD>If this option is
32 specified then dump the table <I>"tablename"</I>, otherwise dump every tables
33 in <I>ttfile</I>. <I>Tablename</I> can be one of the following: <blockquote></DD>
34
35 <DT><B>Required Tables</B> </DT>
36 <DD></DD>
37
38 <DT><I>cmap</I>
39 </DT>
40 <DD>character to glhph mapping table </DD>
41
42 <DT><I>glyf</I> </DT>
43 <DD>glyph data </DD>
44
45 <DT><I>head</I> </DT>
46 <DD>font header </DD>
47
48 <DT><I>hhea</I>
49 </DT>
50 <DD>horizontal header </DD>
51
52 <DT><I>hmtx</I> </DT>
53 <DD>horizontal metrics </DD>
54
55 <DT><I>loca</I> </DT>
56 <DD>index to location </DD>
57
58 <DT><I>maxp</I> </DT>
59 <DD>maximum
60 profile </DD>
61
62 <DT><I>name</I> </DT>
63 <DD>naming table </DD>
64
65 <DT><I>post</I> </DT>
66 <DD>PostScript information </DD>
67
68 <DT><I>OS/2</I> </DT>
69 <DD>OS/2 and windows
70 specific metrics </DD>
71
72 <DT><B>Optional Tables</B> </DT>
73 <DD></DD>
74
75 <DT><I>cvt</I> </DT>
76 <DD>control value table </DD>
77
78 <DT><I>fpgm</I> </DT>
79 <DD>font program;
80 <I>not implemented yet.</I> </DD>
81
82 <DT><I>gasp</I> </DT>
83 <DD>grid-fitting and scan conversion procedure (grayscale)
84 </DD>
85
86 <DT><I>hdmx</I> </DT>
87 <DD>horizontal device metrics </DD>
88
89 <DT><I>kern</I> </DT>
90 <DD>kerning table </DD>
91
92 <DT><I>LTSH</I> </DT>
93 <DD>Linear threshold
94 table </DD>
95
96 <DT><I>prep</I> </DT>
97 <DD>CVT program; <I>not implemented yet</I> </DD>
98
99 <DT><I>PCLT</I> </DT>
100 <DD>PCL5 table </DD>
101
102 <DT><I>VDMX</I> </DT>
103 <DD>Vertical
104 Device Metrics table </DD>
105
106 <DT><I>vhea</I> </DT>
107 <DD>vertical metrics header </DD>
108
109 <DT><I>vmtx</I> </DT>
110 <DD></DD>
111 </DL>
112 vertical metrics
113 </blockquote>
114
115 <DL>
116
117 <DT><B>-g<I> glyphnumber</I></B> </DT>
118 <DD>If this option is specified then dump the glyph with index
119 <I>glyphnumber</I>, otherwise dump all glyphs in <I>ttfile</I>. </DD>
120
121 <DT><B>-c<I> collection</I></B> </DT>
122 <DD>Select a
123 TrueType font in a TrueType Collection. </DD>
124
125 <DT><B>-i<I> ttfile</I></B> </DT>
126 <DD>TrueType font file to be
127 dumped. </DD>
128
129 <DT><B>-o<I> dumpfile</I></B> </DT>
130 <DD>Output of the dump. If this option is not specified, dump
131 to stdout. </DD>
132 </DL>
133 </blockquote>
134
135 <H2><A NAME="sect4" HREF="#toc4">Example</A></H2>
136 To dump all information in the TrueType font file times.ttf:
137 <blockquote>ttfdump times.ttf </blockquote>
138 <P>
139 To dump the required table <I>cmap</I> in the file: <blockquote>ttfdump
140 -t cmap times.ttf </blockquote>
141 <P>
142 To dump a single glyph with index 50: <blockquote>ttfdump -g 50 times.ttf
143 </blockquote>
144 <P>
145
146 <H2><A NAME="sect5" HREF="#toc5">See Also</A></H2>
147 TrueType 1.0 Font Files, <I> Technical Specification Revision 1.66
148 November 1995</I>
149 <H2><A NAME="sect6" HREF="#toc6">Note</A></H2>
150 Instruction disassembler in not implemented.
151 <H2><A NAME="sect7" HREF="#toc7">Aothor</A></H2>
152 Li-Da
153 Lho, [email protected] <P>
154
155 <HR><P>
156 <A NAME="toc"><B>Table of Contents</B></A><P>
157 <UL>
158 <LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
159 <LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
160 <LI><A NAME="toc2" HREF="#sect2">Description</A></LI>
161 <UL>
162 <LI><A NAME="toc3" HREF="#sect3">Options</A></LI>
163 </UL>
164 <LI><A NAME="toc4" HREF="#sect4">Example</A></LI>
165 <LI><A NAME="toc5" HREF="#sect5">See Also</A></LI>
166 <LI><A NAME="toc6" HREF="#sect6">Note</A></LI>
167 <LI><A NAME="toc7" HREF="#sect7">Aothor</A></LI>
168 </UL>
169 </BODY></HTML>