2 Copyright (C) 1994-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 HPFTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
27 hpftodit \- create font description files for use with groff \-Tlj4
40 It is possible to have whitespace between the
42 command line option and its parameter.
45 creates a font file for use with
48 from an HP tagged font metric file.
50 is the name of the tagged font metric file for the font.
52 is a file giving the groff names for characters in the font;
53 this file should consist of a sequence of lines of the form:
60 is a decimal integer giving the MSL number of the character,
64 are the groff names of the character.
66 is the name of the groff font file.
67 The groff font file is written to
72 option should be given if the font is special
77 should search it whenever
78 a character is not found in the current font.)
79 If the font is special,
80 it should be listed in the
82 command in the DESC file;
83 if it is not special, there is no need to list it, since
85 can automatically mount it when it's first used.
91 will automatically generate an italic correction,
92 a left italic correction and a subscript correction
94 (the significance of these parameters is explained in
95 .BR groff_font (@MAN5EXT@)).
99 Print the version number.
103 The effect of this option is to add the
105 command to the font file.
108 Generate an italic correction for each character so that
109 the character's width plus the character's italic correction
113 plus the amount by which the right edge of the character's bounding
114 is to the right of the character's origin.
115 If this would result in a negative italic correction, use a zero
116 italic correction instead.
117 There are 8782 design units per em for Intellifont fonts.
119 Also generate a subscript correction equal to the
120 product of the tangent of the slant of the font and
121 four fifths of the x-height of the font.
122 If this would result in a subscript correction greater than the italic
123 correction, use a subscript correction equal to the italic correction
126 Also generate a left italic correction for each character
130 plus the amount by which the left edge of the character's bounding box
131 is to the left of the character's origin.
132 The left italic correction may be negative.
134 This option is normally needed only with italic (or oblique) fonts.
136 .Tp \w'\fB@FONTDIR@/devlj4/DESC'u+2n
137 .B @FONTDIR@/devlj4/DESC
138 Device description file.
140 .BI @FONTDIR@/devlj4/ F
141 Font description file for font
145 This program was written without the benefit of complete, official
146 documentation on the tagged font metric format.
147 It is therefore likely that it will fail to work on tfm files that are
148 dissimilar to those for the internal fonts on the Laserjet 4,
149 with which it was tested:
151 TrueType tfm files are not supported.
153 .BR groff (@MAN1EXT@),
154 .BR grolj4 (@MAN1EXT@),
155 .BR groff_font (@MAN5EXT@)