1ADDFTINFO(1) General Commands Manual ADDFTINFO(1)
2
3
4
6 addftinfo - add information to troff font files for use with groff
7
9 addftinfo [-asc-height n] [-body-depth n] [-body-height n]
10 [-cap-height n] [-comma-depth n] [-desc-depth n]
11 [-fig-height n] [-x-height n] res unitwidth font
12
13 addftinfo --help
14
15 addftinfo -v
16 addftinfo --version
17
19 addftinfo reads a troff font file and adds some additional font-metric
20 information that is used by the groff system. The font file with the
21 information added is written on the standard output. The information
22 added is guessed using some parametric information about the font and
23 assumptions about the traditional troff names for characters. The main
24 information added is the heights and depths of characters. The res and
25 unitwidth arguments should be the same as the corresponding parameters
26 in the DESC file; font is the name of the file describing the font; if
27 font ends with I the font will be assumed to be italic.
28
30 -v prints the version number.
31
32 All other options change one of the parameters that are used to derive
33 the heights and depths. Like the existing quantities in the font file,
34 each value is in inches/res for a font whose point size is unitwidth.
35 param-option must be one of:
36
37 -x-height
38 The height of lowercase letters without ascenders such as x.
39
40 -fig-height
41 The height of figures (digits).
42
43 -asc-height
44 The height of characters with ascenders, such as b, d or l.
45
46 -body-height
47 The height of characters such as parentheses.
48
49 -cap-height
50 The height of uppercase letters such as A.
51
52 -comma-depth
53 The depth of a comma.
54
55 -desc-depth
56 The depth of characters with descenders, such as p, q, or y.
57
58 -body-depth
59 The depth of characters such as parentheses.
60
61 addftinfo makes no attempt to use the specified parameters to guess the
62 unspecified parameters. If a parameter is not specified the default
63 will be used. The defaults are chosen to have the reasonable values
64 for a Times font.
65
67 groff_font(5), groff(1), groff_char(7)
68
69 You can view a man page name(n) with
70 man n name
71 in text mode and with
72 groffer n name
73 in graphical mode (PDF, etc.).
74
75
76
77groff 1.22.4 17 March 2021 ADDFTINFO(1)