1TTF2AFM(1)                  General Commands Manual                 TTF2AFM(1)
2
3
4

NAME

6       ttf2afm - utility to generate AFM files for TrueType fonts
7

SYNOPSIS

9       ttf2afm [OPTIONS] FONTFILE
10

DESCRIPTION

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

OPTIONS

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

SEE ALSO

56       afm2tfm(1),  afm2pl(1).  FontForge (https://fontforge.org).  LCDF Type‐
57       Tools (https://lcdf.org).  A closer look at TrueType fonts and  pdfTeX,
58       Han The Thanh (https://tug.org/TUGboat/tb30-1/tb94thanh.pdf).
59

BUGS

61       Send bug reports to <pdftex@tug.org> (public mailing list).
62

AUTHOR

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 2023                       8 March 2022                       TTF2AFM(1)
Impressum