2 .\" Like TP, but if specified indent is more than half
3 .\" the current line-length - indent, use the default indent.
5 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
8 .TH AFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
10 afmtodit \- create font files for use with groff \-Tps
33 creates a font file for use with groff and
37 you must have perl version 3 installed in order to run
40 is the AFM (Adobe Font Metric) file for the font.
42 is a file that says which groff character names map onto
43 each PostScript character name;
44 this file should contain a sequence of lines of the form
51 is the PostScript name of the character
54 is the groff name of the character (as used in the groff font file.)
57 can occur multiple times in the file;
60 must occur at most once.
62 is the groff name of the font.
63 If a PostScript character is in the encoding to be used for the font
64 but is not mentioned in
68 will put it in the groff font file as an unnamed character,
69 which can be accessed by the
73 The groff font file will be output to a file called
76 If there is a downloadable font file for the font, it may be listed in
78 .BR @FONTDIR@/devps/download ;
80 .BR grops (@MAN1EXT@).
86 will automatically generate an italic correction,
87 a left italic correction and a subscript correction
89 (the significance of these parameters is explained in
90 .BR groff_font (@MAN5EXT@));
91 these parameters may be specified for individual characters by
96 .BI italicCorrection\ ps_char\ n
98 .BI leftItalicCorrection\ ps_char\ n
100 .BI subscriptCorrection\ ps_char\ n
104 is the PostScript name of the character,
107 is the desired value of the corresponding parameter in thousandths of an em.
108 These parameters are normally needed only for italic (or oblique) fonts.
114 command for this font.
115 Use this with constant-width fonts.
119 The effect of this option is to add the
121 command to the font file.
124 The device description file is
126 rather than the default
130 The PostScript font should be reencoded to use the encoding described
135 .BR grops (@MAN1EXT@).
140 as the slant parameter in the font file;
141 this is used by groff in the positioning of accents.
144 uses the negative of the ItalicAngle specified in the afm file;
145 with true italic fonts it is sometimes desirable to use
146 a slant that is less than this.
147 If you find that characters from an italic font have accents
148 placed too far to the right over them,
151 option to give the font a smaller slant.
154 Generate an italic correction for each character so that
155 the character's width plus the character's italic correction
159 plus the amount by which the right edge of the character's bounding
160 is to the right of the character's origin.
161 If this would result in a negative italic correction, use a zero
162 italic correction instead.
164 Also generate a subscript correction equal to the
165 product of the tangent of the slant of the font and
166 four fifths of the x-height of the font.
167 If this would result in a subscript correction greater than the italic
168 correction, use a subscript correction equal to the italic correction
171 Also generate a left italic correction for each character
175 plus the amount by which the left edge of the character's bounding box
176 is to the left of the character's origin.
177 The left italic correction may be negative.
179 This option is normally needed only with italic (or oblique) fonts.
180 The font files distributed with groff were created using an option of
184 .Tp \w'\fB@FONTDIR@/devps/download'u+2n
185 .B @FONTDIR@/devps/DESC
186 Device desciption file.
188 .BI @FONTDIR@/devps/ F
189 Font description file for font
192 .B @FONTDIR@/devps/download
193 List of downloadable fonts.
195 .B @FONTDIR@/devps/text.enc
196 Encoding used for text fonts.
198 .B @FONTDIR@/devps/textmap
201 .BR groff (@MAN1EXT@),
202 .BR grops (@MAN1EXT@),
203 .BR groff_font (@MAN5EXT@),