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

Name

6       addftinfo - add font metrics to troff fonts for use with groff
7

Synopsis

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] resolution unit-width font
12
13       addftinfo --help
14
15       addftinfo -v
16       addftinfo --version
17

Description

19       addftinfo  reads  an  AT&T troff font description file font, adds addi‐
20       tional font metric information required by GNU troff(1), and writes the
21       combined  result  to the standard output.  The information added is de‐
22       rived from the font's existing parameters and assumptions about  tradi‐
23       tional  troff  names  for characters.  Among the font metrics added are
24       the heights and depths of characters (how far each  extends  vertically
25       above and below the baseline).  The resolution and unit-width arguments
26       should be the same as the corresponding parameters in  the  DESC  file.
27       font  is  the  name  of the file describing the font; if font ends with
28I”, the font is assumed to be oblique (or italic).
29

Options

31       --help displays a usage message, while -v and  --version  show  version
32       information; all exit afterward.
33
34       All other options change parameters that are used to derive the heights
35       and depths.  Like the existing quantities in the font description file,
36       each  value  n  is in scaled points, inches/resolution for a font whose
37       type size is unit-width; see groff_font(5).
38
39       -asc-height n
40              height of characters with ascenders, such as “b”, “d”, or “l”
41
42       -body-depth n
43              depth of characters such as parentheses
44
45       -body-height n
46              height of characters such as parentheses
47
48       -cap-height n
49              height of uppercase letters such as “A”
50
51       -comma-depth n
52              depth of a comma
53
54       -desc-depth n
55              depth of characters with descenders, such as “p”, “q”, or “y”
56
57       -fig-height
58              height of figures (numerals)
59
60       -x-height n
61              height of lowercase letters without ascenders such as “x”
62
63       addftinfo makes no attempt to use the specified parameters to infer un‐
64       specified  parameters.   If  a  parameter is not specified, the default
65       will be used.  The defaults are chosen to produce reasonable values for
66       a Times font.
67

See also

69       groff_font(5), groff(1), groff_char(7)
70
71
72
73groff 1.23.0                    2 November 2023                   addftinfo(1)
Impressum