beta-0.89.2
[luatex.git] / source / texk / web2c / man / ttf2afm.man
blob6746f5480897d732b226a57eca1bab45f3feffbf
1 .TH TTF2AFM 1 "16 June 2015" "Web2C @VERSION@"
2 .PP 
3 .SH "NAME" 
4 ttf2afm \- utility to generate AFM files for TrueType fonts
5 .PP 
6 .SH "SYNOPSIS" 
7 .B ttf2afm
8 .RI [ OPTIONS ]
9 .I FONTFILE
10 .PP 
11 .SH "DESCRIPTION" 
12 .PP 
13 \fBttf2afm\fP is used to generate Adobe Font Metrics (AFM) files for
14 TrueType (TTF) fonts to allow them to be used with TeX\&.
15 .PP 
16 \fBttf2afm\fP takes the name of a TrueType font file as a required
17 argument\&.  It may also take one or more options from the list below
18 (\fB-i\fP and \fB-u\fP are mutually exclusive)\&.
19 .PP 
20 .SH "OPTIONS" 
21 .PP 
22 .IP "\fB-i\fP" 
23 force printing glyph names in form
24 `index'\fIdecnum\fP\&
25 .IP "\fB-u\fP" 
26 force printing glyph names in form
27 `uni'\fIhexnum\fP\&
28 .IP "\fB-c\fP \fIname\fP" 
29 write encoding tables to file
30 \fIname\&.eMN\fP, where \fIM\fP is the platform
31 ID and \fIN\fP is the encoding ID
32 .IP "\fB-v\fP" 
33 print program version
34 .IP "\fB-e\fP \fIenc\fP" 
35 encode AFM output using encoding vector from \fIenc\fP
36 .IP "\fB-o\fP \fIoutfile\fP" 
37 output to file \fIoutfile\fP instead of standard output
38 .IP "\fB-m\fP \fInum\fP" 
39 .PP 
40 Platform numbers can be one of
41 .IP "0" 
42 Apple Unicode
43 .IP "1" 
44 Macintosh
45 .IP "2" 
46 ISO
47 .IP "3" 
48 Microsoft
49 .PP 
50 Encodings can be
51 .IP "0" 
52 Roman (if platform is Macintosh)
53 .IP "0" 
54 Symbol (if platform is Microsoft)
55 .IP "1" 
56 Unicode (if platform is Microsoft)
57 .PP
58 .SH "SEE ALSO"
59 afm2tfm(1), afm2pl(1).
60 FontForge (http://fontforge.sf.net).
61 LCDF TypeTools (http://lcdf.org).
62 A closer look at TrueType fonts and pdfTeX, Han The Thanh
63 (http://tug.org/TUGboat/tb30-1/tb94thanh.pdf).
64 .PP 
65 .SH "BUGS" 
66 .PP 
67 Send bug reports to <pdftex@tug\&.org> (public mailing list)\&.
68 .PP 
69 .SH "AUTHOR" 
70 .PP 
71 \fBttf2afm\fP is part of pdfTeX and was written by Han The Thanh\&.
72 .PP 
73 This manual page was originally written by C\&.M\&. Connelly, for the
74 Debian GNU/Linux system, and updated by Karl Berry.