1 .TH AFMTODIT @MAN1EXT@ "26 August 1990" "Groff Version @VERSION@"
3 afmtodit \- create font files for use with groff \-Tps
23 creates a font file for use with groff and
27 you must have perl version 3 installed in order to run
30 is the AFM (Adobe Font Metric) file for the font.
32 is a file that says which groff character names map onto
33 each PostScript character name;
34 this file should contain a sequence of lines of the form
41 is the PostScript name of the character
44 is the groff name of the character (as used in the groff font file.)
47 can occur multiple times in the file;
50 must occur at most once.
52 is the groff name of the font.
53 If a PostScript character is in the encoding to be used for the font
54 but is not mentioned in
58 will put it in the groff font file as an unnamed character,
59 which can be accessed by the
63 The groff font file will be output to a file called
66 If there is a downloadable font file for the font, it may be listed in
68 .BR @FONTDIR@/devps/download ;
70 .BR grops (@MAN1EXT@).
76 will automatically generate an italic correction,
77 a left italic correction and a subscript correction
79 (the significance of these parameters is explained in
80 .BR groff_font (@MAN5EXT@));
81 these parameters may be specified for individual characters by
86 .BI italicCorrection\ ps_char\ n
88 .BI leftItalicCorrection\ ps_char\ n
90 .BI subscriptCorrection\ ps_char\ n
94 is the PostScript name of the character,
97 is the desired value of the corresponding parameter in thousandths of an em.
98 These parameters are normally needed only for italic (or oblique) fonts.
103 The effect of this option is to add the
105 command to the font file.
108 The PostScript font should be reencoded to use the encoding described
113 .BR grops (@MAN1EXT@).
118 as the slant parameter in the font file;
119 this is used by groff in the positioning of accents.
122 uses the negative of the ItalicAngle specified in the afm file;
123 with true italic fonts it is sometimes desirable to use
124 a slant that is less than this.
125 If you find that characters from an italic font have accents
126 placed too far to the right over them,
129 option to give the font a smaller slant.
132 Generate an italic correction for each character so that
133 the character's width plus the character's italic correction
137 plus the amount by which the right edge of the character's bounding
138 is to the right of the character's origin.
139 If this would result in a negative italic correction, use a zero
140 italic correction instead.
142 Also generate a subscript correction equal to the
143 product of the tangent of the slant of the font and
144 four fifths of the x-height of the font.
145 If this would result in a subscript correction greater than the italic
146 correction, use a subscript correction equal to the italic correction
149 Also generate a left italic correction for each character
153 plus the amount by which the left edge of the character's bounding box
154 is to the left of the character's origin.
155 The left italic correction may be negative.
157 This option is normally needed only with italic (or oblique) fonts.
158 The font files distributed with groff were created using an option of
162 .TP \w'\fB@FONTDIR@/devps/download'u+2n
163 .B @FONTDIR@/devps/DESC
164 Device desciption file.
166 .BI @FONTDIR@/devps/ F
167 Font description file for font
170 .B @FONTDIR@/devps/download
171 List of downloadable fonts.
173 .B @FONTDIR@/devps/text.enc
174 Encoding used for text fonts.
176 .B @FONTDIR@/devps/textmap
179 .BR groff (@MAN1EXT@),
180 .BR grops (@MAN1EXT@),
181 .BR groff_font (@MAN5EXT@),