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 [ -v ] [ -param value... ] res unitwidth font
10
12 addftinfo reads a troff font file and adds some additional font-metric
13 information that is used by the groff system. The font file with the
14 information added is written on the standard output. The information
15 added is guessed using some parametric information about the font and
16 assumptions about the traditional troff names for characters. The main
17 information added is the heights and depths of characters. The res and
18 unitwidth arguments should be the same as the corresponding parameters
19 in the DESC file; font is the name of the file describing the font; if
20 font ends with I the font will be assumed to be italic.
21
23 -v prints the version number.
24
25 All other options changes one of the parameters that is used to derive
26 the heights and depths. Like the existing quantities in the font file,
27 each value is in inches/res for a font whose point size is unitwidth.
28 param must be one of:
29
30 x-height
31 The height of lowercase letters without ascenders such as x.
32
33 fig-height
34 The height of figures (digits).
35
36 asc-height
37 The height of characters with ascenders, such as b, d or l.
38
39 body-height
40 The height of characters such as parentheses.
41
42 cap-height
43 The height of uppercase letters such as A.
44
45 comma-depth
46 The depth of a comma.
47
48 desc-depth
49 The depth of characters with descenders, such as p,q, or y.
50
51 body-depth
52 The depth of characters such as parentheses.
53
54 addftinfo makes no attempt to use the specified parameters to guess the
55 unspecified parameters. If a parameter is not specified the default
56 will be used. The defaults are chosen to have the reasonable values
57 for a Times font.
58
60 groff_font(5), groff(1), groff_char(7)
61
62
63
64Groff Version 1.22.2 7 February 2013 ADDFTINFO(1)