2 Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc.
4 Permission is granted to make and distribute verbatim copies of
5 this manual provided the copyright notice and this permission notice
6 are preserved on all copies.
8 Permission is granted to copy and distribute modified versions of this
9 manual under the conditions for verbatim copying, provided that the
10 entire resulting derived work is distributed under the terms of a
11 permission notice identical to this one.
13 Permission is granted to copy and distribute translations of this
14 manual into another language, under the above conditions for modified
15 versions, except that this permission notice may be included in
16 translations approved by the Free Software Foundation instead of in
19 .\" Like TP, but if specified indent is more than half
20 .\" the current line-length - indent, use the default indent.
22 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
25 .TH AFMTODIT 1 "27 June 2001" "Groff Version 1.17.2"
27 afmtodit \- create font files for use with groff \-Tps
32 .in +\w'\fBafmtodit 'u
36 .ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
37 .el .RB "[\ " "\\$1" "\ ]"
51 creates a font file for use with groff and
55 you must have perl version 3 installed in order to run
58 is the AFM (Adobe Font Metric) file for the font.
60 is a file that says which groff character names map onto
61 each PostScript character name;
62 this file should contain a sequence of lines of the form
69 is the PostScript name of the character
72 is the groff name of the character (as used in the groff font file.)
75 can occur multiple times in the file;
78 must occur at most once.
80 is the groff name of the font.
81 If a PostScript character is in the encoding to be used for the font
82 but is not mentioned in
86 will put it in the groff font file as an unnamed character,
87 which can be accessed by the
91 The groff font file will be output to a file called
94 If there is a downloadable font file for the font, it may be listed in
96 .BR /usr/share/groff/1.17.2/font/devps/download ;
104 will automatically generate an italic correction,
105 a left italic correction and a subscript correction
107 (the significance of these parameters is explained in
109 these parameters may be specified for individual characters by
114 .BI italicCorrection\ ps_char\ n
116 .BI leftItalicCorrection\ ps_char\ n
118 .BI subscriptCorrection\ ps_char\ n
122 is the PostScript name of the character,
125 is the desired value of the corresponding parameter in thousandths of an em.
126 These parameters are normally needed only for italic (or oblique) fonts.
135 command for this font.
136 Use this with constant-width fonts.
140 The effect of this option is to add the
142 command to the font file.
145 The device description file is
147 rather than the default
151 The PostScript font should be reencoded to use the encoding described
161 as the slant parameter in the font file;
162 this is used by groff in the positioning of accents.
165 uses the negative of the ItalicAngle specified in the afm file;
166 with true italic fonts it is sometimes desirable to use
167 a slant that is less than this.
168 If you find that characters from an italic font have accents
169 placed too far to the right over them,
172 option to give the font a smaller slant.
175 Generate an italic correction for each character so that
176 the character's width plus the character's italic correction
180 plus the amount by which the right edge of the character's bounding
181 is to the right of the character's origin.
182 If this would result in a negative italic correction, use a zero
183 italic correction instead.
185 Also generate a subscript correction equal to the
186 product of the tangent of the slant of the font and
187 four fifths of the x-height of the font.
188 If this would result in a subscript correction greater than the italic
189 correction, use a subscript correction equal to the italic correction
192 Also generate a left italic correction for each character
196 plus the amount by which the left edge of the character's bounding box
197 is to the left of the character's origin.
198 The left italic correction may be negative.
200 This option is normally needed only with italic (or oblique) fonts.
201 The font files distributed with groff were created using an option of
205 .Tp \w'\fB/usr/share/groff/1.17.2/font/devps/download'u+2n
206 .B /usr/share/groff/1.17.2/font/devps/DESC
207 Device description file.
209 .BI /usr/share/groff/1.17.2/font/devps/ F
210 Font description file for font
213 .B /usr/share/groff/1.17.2/font/devps/download
214 List of downloadable fonts.
216 .B /usr/share/groff/1.17.2/font/devps/text.enc
217 Encoding used for text fonts.
219 .B /usr/share/groff/1.17.2/font/devps/generate/textmap