1TTF2AFM(1) General Commands Manual TTF2AFM(1)
2
3
4
6 ttf2afm - utility to generate AFM files for TrueType fonts
7
9 ttf2afm [OPTIONS] FONTFILE
10
12 ttf2afm is used to generate Adobe Font Metrics (AFM) files for TrueType
13 (TTF) fonts to allow them to be used with TeX.
14
15 ttf2afm takes the name of a TrueType font file as a required argument.
16 It may also take one or more options from the list below (-i and -u are
17 mutually exclusive).
18
20 -i force printing glyph names in form `index'decnum
21
22 -u force printing glyph names in form `uni'hexnum
23
24 -c name
25 write encoding tables to file name.eMN, where M is the platform
26 ID and N is the encoding ID
27
28 -v print program version
29
30 -e enc encode AFM output using encoding vector from enc
31
32 -o outfile
33 output to file outfile instead of standard output
34
35 -m num use Unicode mapping num in the font
36
37 Platform numbers can be one of
38
39 0 Apple Unicode
40
41 1 Macintosh
42
43 2 ISO
44
45 3 Microsoft
46
47 Encodings can be
48
49 0 Roman (if platform is Macintosh)
50
51 0 Symbol (if platform is Microsoft)
52
53 1 Unicode (if platform is Microsoft)
54
56 afm2tfm(1), afm2pl(1). FontForge (http://fontforge.sf.net). LCDF
57 TypeTools (http://lcdf.org). A closer look at TrueType fonts and pdf‐
58 TeX, Han The Thanh (http://tug.org/TUGboat/tb30-1/tb94thanh.pdf).
59
61 Send bug reports to <pdftex@tug.org> (public mailing list).
62
64 ttf2afm is part of pdfTeX and was written by Han The Thanh.
65
66 This manual page was originally written by C.M. Connelly, for the De‐
67 bian GNU/Linux system, and updated by Karl Berry and others.
68
69
70
71Web2C 2021 8 March 2016 TTF2AFM(1)