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-option 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 change one of the parameters that are 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-option 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 Watch a man-page name(n) with
63 man n name
64 in text mode and with
65 groffer n name
66 in graphical mode (PDF, etc.).
67
69 Copyright © 1989-2014 Free Software Foundation, Inc.
70
71 Permission is granted to make and distribute verbatim copies of this
72 manual provided the copyright notice and this permission notice are
73 preserved on all copies.
74
75 Permission is granted to copy and distribute modified versions of this
76 manual under the conditions for verbatim copying, provided that the
77 entire resulting derived work is distributed under the terms of a per‐
78 mission notice identical to this one.
79
80 Permission is granted to copy and distribute translations of this man‐
81 ual into another language, under the above conditions for modified ver‐
82 sions, except that this permission notice may be included in transla‐
83 tions approved by the Free Software Foundation instead of in the origi‐
84 nal English.
85
86
87
88Groff Version 1.22.3 4 November 2014 ADDFTINFO(1)