version 4, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
ADDFTINFO |
| |
|
2 |
!!!ADDFTINFO |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
SEE ALSO |
| |
|
8 |
---- |
| |
|
9 |
!!NAME |
| |
|
10 |
|
| |
|
11 |
|
| |
|
12 |
addftinfo - add information to troff font files for use with groff |
| |
|
13 |
!!SYNOPSIS |
| |
|
14 |
|
| |
|
15 |
|
| |
|
16 |
__addftinfo__ [[ __-v__ ] [[ __-__''param |
| |
|
17 |
value''... ] ''res unitwidth font'' |
| |
|
18 |
!!DESCRIPTION |
| |
|
19 |
|
| |
|
20 |
|
| |
|
21 |
__addftinfo__ reads a troff font file and adds some |
| |
|
22 |
additional font-metric information that is used by the groff |
| |
|
23 |
system. The font file with the information added is written |
| |
|
24 |
on the standard output. The information added is guessed |
| |
|
25 |
using some parametric information about the font and |
| |
|
26 |
assumptions about the traditional troff names for |
| |
|
27 |
characters. The main information added is the heights and |
| |
|
28 |
depths of characters. The ''res'' and ''unitwidth'' |
| |
|
29 |
arguments should be the same as the corresponding parameters |
| |
|
30 |
in the DESC file; ''font'' is the name of the file |
| |
|
31 |
describing the font; if ''font'' ends with __I__ the |
| |
|
32 |
font will be assumed to be italic. |
| |
|
33 |
!!OPTIONS |
| |
|
34 |
|
| |
|
35 |
|
| |
|
36 |
__-v__ prints the version number. |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
All other options changes one of the parameters that is used |
| |
|
40 |
to derive the heights and depths. Like the existing |
| |
|
41 |
quantities in the font file, each ''value'' is in |
| |
|
42 |
inches/''res'' for a font whose point size is |
| |
|
43 |
''unitwidth''. ''param'' must be one of: |
| |
|
44 |
|
| |
|
45 |
|
| |
|
46 |
__x-height__ |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
The height of lowercase letters without ascenders such as |
| |
|
50 |
x. |
| |
|
51 |
|
| |
|
52 |
|
| |
|
53 |
__fig-height__ |
| |
|
54 |
|
| |
|
55 |
|
| |
|
56 |
The height of figures (digits). |
| |
|
57 |
|
| |
|
58 |
|
| |
|
59 |
__asc-height__ |
| |
|
60 |
|
| |
|
61 |
|
| |
|
62 |
The height of characters with ascenders, such as b, d or |
| |
|
63 |
l. |
| |
|
64 |
|
| |
|
65 |
|
| |
|
66 |
__body-height__ |
| |
|
67 |
|
| |
|
68 |
|
| |
|
69 |
The height of characters such as parentheses. |
| |
|
70 |
|
| |
|
71 |
|
| |
|
72 |
__cap-height__ |
| |
|
73 |
|
| |
|
74 |
|
| |
|
75 |
The height of uppercase letters such as A. |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
__comma-depth__ |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
The depth of a comma. |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
__desc-depth__ |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
The depth of characters with descenders, such as p,q, or |
| |
|
88 |
y. |
| |
|
89 |
|
| |
|
90 |
|
| |
|
91 |
__body-depth__ |
| |
|
92 |
|
| |
|
93 |
|
| |
|
94 |
The depth of characters such as parentheses. |
| |
|
95 |
|
| |
|
96 |
|
| |
|
97 |
__addftinfo__ makes no attempt to use the specified |
| |
|
98 |
parameters to guess the unspecified parameters. If a |
| |
|
99 |
parameter is not specified the default will be used. The |
| |
|
100 |
defaults are chosen to have the reasonable values for a |
| |
|
101 |
Times font. |
| |
|
102 |
!!SEE ALSO |
| |
|
103 |
|
| |
|
104 |
|
| 4 |
perry |
105 |
groff_font(5), groff(1), |
| |
|
106 |
groff_char(7) |
| 1 |
perry |
107 |
---- |