3 Copyright (C) 1994-2000, 2001, 2003, 2004 Free Software Foundation, Inc.
5 Permission is granted to make and distribute verbatim copies of
6 this manual provided the copyright notice and this permission notice
7 are preserved on all copies.
9 Permission is granted to copy and distribute modified versions of this
10 manual under the conditions for verbatim copying, provided that the
11 entire resulting derived work is distributed under the terms of a
12 permission notice identical to this one.
14 Permission is granted to copy and distribute translations of this
15 manual into another language, under the above conditions for modified
16 versions, except that this permission notice may be included in
17 translations approved by the Free Software Foundation instead of in
20 .\" Like TP, but if specified indent is more than half
21 .\" the current line-length - indent, use the default indent.
23 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
27 .ie \\n(.$>2 \&\\$1\f(CR\\$2\fP\\$3
28 .el \&\f(CR\\$1\fP\\$2
31 .TH HPFTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
32 .\" --------------------------------------------------------------------------
34 .\" --------------------------------------------------------------------------
35 hpftodit \- create font description files for use with groff \-Tlj4
36 .\" --------------------------------------------------------------------------
38 .\" --------------------------------------------------------------------------
50 It is possible to have whitespace between the
52 option and its parameter.
53 .\" --------------------------------------------------------------------------
55 .\" --------------------------------------------------------------------------
57 creates a font file for use with a Hewlett-Packard LaserJet~4\(enseries
58 (or newer) printer with
60 using data from an HP tagged font metric (TFM) file.
62 is the name of the TFM file for the font; Intellifont and
63 TrueType TFM files are supported, but symbol set TFM files are not.
65 is a file giving the groff names for characters in the font; this file
66 should consist of a sequence of lines of the form:
69 m u c1 c2 \fR.\|.\|. [
76 is a decimal integer giving the MSL number of the character,
78 is a hexadecimal integer giving the Unicode value of the character,
82 are the groff names of the character.
83 The values can be separated by any whitespace; the Unicode value must
84 use uppercase digits A\^\(en\^F, and must be without a leading
89 Unicode values corresponding to composite glyphs are decomposed; e.g.,
93 The name for a glyph without a groff name may be given as
95 if the glyph corresponds to a Unicode value, or as an unnamed glyph
97 If the given Unicode value is in the Private Use Area
98 (0xE000\^\(en\^0xF8FF), the glyph is included as an unnamed glyph.
100 .BR groff_diff (@MAN1EXT@)
101 for additional information about unnamed glyphs and how to access them.
103 Blank lines and lines beginning with
108 following one or more groff names begins a comment.
111 is a valid groff name, it must appear first in a list of
112 groff names if a comment is included, e.g.,
114 .CW "3 0023 # # number sign"
118 .CW "3 0023 # sh # number sign"
122 .CW "3 0023 sh # # number sign"
124 which will treat the first
126 as the beginning of the comment.
129 is the name of the groff font file.
130 The groff font file is written to
136 the output is written to the standard output.
140 option should be given if the font is special
145 should search it whenever
146 a character is not found in the current font).
147 If the font is special,
148 it should be listed in the
150 command in the DESC file;
151 if it is not special, there is no need to list it, since
153 can automatically mount it when it's first used.
159 automatically will generate an italic correction,
160 a left italic correction and a subscript correction
162 (the significance of these parameters is explained in
163 .BR groff_font (@MAN5EXT@)).
164 .\" --------------------------------------------------------------------------
166 .\" --------------------------------------------------------------------------
169 Include characters in the TFM file that are not included in the map
171 A glyph with corresponding Unicode value is given the name
173 a glyph without a Unicode value is included as an unnamed glyph
175 A glyph with a Unicode value in the Private Use Area
176 (0xE000\^\(en\^0xF8FF) also is included as an unnamed glyph.
178 This option provides a simple means of adding Unicode-named and unnamed
179 glyphs to a font without including them in the map file, but it affords
180 little control over which glyphs are placed in a regular font and which
181 are placed in a special font.
182 The presence or absence of the
184 option has some effect on which glyphs are included: without the
186 option, only the \(lqtext\(rq symbol sets are searched for matching
189 option, only the \(lqmathematical\(rq symbol sets
191 Nonetheless, restricting the symbol sets searched isn't very
192 selective\(emmany glyphs are placed in both regular and special fonts.
195 option should be used only as a last resort.
196 .\" --------------------------------------------------------------------------
199 Dump information about the TFM file to the standard output; this option
200 can be useful for ensuring that a TFM file is a proper match for a font,
201 and that the contents of the TFM file are suitable.
202 The information includes the values of important TFM tags, and a listing
203 (by MSL number for Intellifont TFM files or by Unicode value for
204 TrueType TFM files) of the glyphs included in the TFM file.
205 The unit of measure `DU' for some tags indicates design units; there are
206 8782 design units per em for Intellifont fonts, and 2048 design units
207 per em for TrueType fonts.
208 Note that the accessibility of a glyph depends on its inclusion in a
209 symbol set; some TFM files list many glyphs but only a few symbol sets.
211 The glyph listing includes the glyph index within the TFM file, the MSL
212 or Unicode value, and the symbol set and character code that will be
213 used to print the glyph.
217 groff names are given for matching glyphs.
218 If only the glyph index and MSL or Unicode value are given, the glyph
219 does not appear in any supported symbol set and cannot be printed.
228 .\" --------------------------------------------------------------------------
231 Suppress warnings about characters in the map file that were not found
233 Warnings never are given for unnamed glyphs or by glyphs named by their
235 This option is useful when sending the output of
237 to the standard output.
238 .\" --------------------------------------------------------------------------
244 .\" --------------------------------------------------------------------------
250 command to the font file, and affects the order in which HP symbol sets
251 are searched for each glyph.
254 option, the \(lqtext\(rq sets are searched before
255 the \(lqmathematical\(rq symbol sets.
258 option, the search order is reversed.
259 .\" --------------------------------------------------------------------------
262 Generate an italic correction for each character so that the character's
263 width plus the character's italic correction is equal to
265 thousandths of an em plus the amount by which the right edge of the
266 character's bounding is to the right of the character's origin.
267 If this would result in a negative italic correction, use a zero italic
270 Also generate a subscript correction equal to the
271 product of the tangent of the slant of the font and
272 four fifths of the x-height of the font.
273 If this would result in a subscript correction greater than the italic
274 correction, use a subscript correction equal to the italic correction
277 Also generate a left italic correction for each character
280 thousandths of an em plus the amount by which the left edge of the
281 character's bounding box is to the left of the character's origin.
282 The left italic correction may be negative.
284 This option normally is needed only with italic or oblique fonts;
285 a value of 50 (0.05 em) usually is a reasonable choice.
286 .\" --------------------------------------------------------------------------
288 .\" --------------------------------------------------------------------------
290 .TP \w'\fB@FONTDIR@/devlj4/generate/\fP\fI*\fP.map'u+2n
291 .B @FONTDIR@/devlj4/DESC
292 Device description file.
294 .BI @FONTDIR@/devlj4/ F
295 Font description file for font
298 .BI @FONTDIR@/devlj4/generate/ * .map
300 .\" --------------------------------------------------------------------------
302 .\" --------------------------------------------------------------------------
303 .BR groff (@MAN1EXT@),
304 .BR groff_diff (@MAN1EXT@),
305 .BR grolj4 (@MAN1EXT@),
306 .BR groff_font (@MAN5EXT@),
307 .BR lj4_font (@MAN5EXT@)