summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/addftinfo.1
blob: d649ef31cff759442e1887c4d29b207c7a6948c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
.TH ADDFTINFO 1 "18 November 2018" "groff 1.22.4"
.SH NAME
addftinfo \- add information to troff font files for use with groff
.
.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
.\"
.\" Copyright (C) 1989-2018 Free Software Foundation, Inc.
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of
.\" a permission notice identical to this one.
.\"
.\" Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for
.\" modified versions, except that this permission notice may be
.\" included in translations approved by the Free Software Foundation
.\" instead of in the original English.
.
.
.\" ====================================================================
.\" Characters
.\" ====================================================================
.
.\" Ellipsis ...
.ie t .ds EL \fS\N'188'\fP\"
.el .ds EL \&.\|.\|.\&\"
.\" called with \*(EL
.
.
.\" ====================================================================
.SH SYNOPSIS
.\" ====================================================================
.
.SY addftinfo
.OP \-asc\-height n
.OP \-body\-depth n
.OP \-body\-height n
.OP \-cap\-height n
.OP \-comma\-depth n
.OP \-desc\-depth n
.OP \-fig\-height n
.OP \-x\-height n
.I res
.I unitwidth
.I font
.YS
.
.SY addftinfo
.B \-\-help
.YS
.
.SY addftinfo
.B \-v
.SY addftinfo
.B \-\-version
.YS
.
.
.\" ====================================================================
.SH DESCRIPTION
.\" ====================================================================
.
.B addftinfo
reads a troff font file and adds some additional font-metric
information that is used by the groff system.
.
The font file with the information added is written on the standard
output.
.
The information added is guessed using some parametric information
about the font and assumptions about the traditional troff names for
characters.
.
The main information added is the heights and depths of characters.
.
The
.I res
and
.I unitwidth
arguments should be the same as the corresponding parameters in the
DESC file;
.I font
is the name of the file describing the font;
if
.I font
ends with
.B I
the font will be assumed to be italic.
.
.
.\" ====================================================================
.SH OPTIONS
.\" ====================================================================
.
.B \-v
prints the version number.
.
.
.LP
All other options change one of the parameters that are used to derive
the heights and depths.
.
Like the existing quantities in the font file, each
.I value
is in
.RI inches/ res
for a font whose point size is
.IR unitwidth .
.
.I param-option
must be one of:
.
.TP
.B \-x\-height
The height of lowercase letters without ascenders such as x.
.
.TP
.B \-fig\-height
The height of figures (digits).
.
.TP
.B \-asc\-height
The height of characters with ascenders, such as b, d or l.
.
.TP
.B \-body\-height
The height of characters such as parentheses.
.
.TP
.B \-cap\-height
The height of uppercase letters such as A.
.
.TP
.B \-comma\-depth
The depth of a comma.
.
.TP
.B \-desc\-depth
The depth of characters with descenders, such as p, q, or y.
.
.TP
.B \-body\-depth
The depth of characters such as parentheses.
.
.
.LP
.B addftinfo
makes no attempt to use the specified parameters to guess the
unspecified parameters.
.
If a parameter is not specified the default will be used.
.
The defaults are chosen to have the reasonable values for a Times
font.
.
.
.\" ====================================================================
.SH "SEE ALSO"
.\" ====================================================================
.
.BR groff_font (5),
.BR groff (1),
.BR groff_char (7)
.
.
.P
You can view a man page
.IB name ( n )
with
.RS
.EX
.BI "man" " n name"
.EE
.RE
in text mode and with
.RS
.EX
.BI "groffer" " n name"
.EE
.RE
in graphical mode (PDF, etc.).
.
.
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: set filetype=groff: