2 .TH HPFTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
4 hpftodit \- create font description files for use with groff \-Tlj4
7 .\" --------------------------------------------------------------------
9 .\" --------------------------------------------------------------------
12 Copyright \[co] 1994-2014 Free Software Foundation, Inc.
14 Permission is granted to make and distribute verbatim copies of
15 this manual provided the copyright notice and this permission notice
16 are preserved on all copies.
18 Permission is granted to copy and distribute modified versions of this
19 manual under the conditions for verbatim copying, provided that the
20 entire resulting derived work is distributed under the terms of a
21 permission notice identical to this one.
23 Permission is granted to copy and distribute translations of this
24 manual into another language, under the above conditions for modified
25 versions, except that this permission notice may be included in
26 translations approved by the Free Software Foundation instead of in
30 .\" --------------------------------------------------------------------
32 .\" --------------------------------------------------------------------
34 .\" Like TP, but if specified indent is more than half
35 .\" the current line-length - indent, use the default indent.
37 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
41 .ie \\n(.$>2 \&\\$1\f(CR\\$2\fP\\$3
42 .el \&\f(CR\\$1\fP\\$2
47 .\" --------------------------------------------------------------------------
49 .\" --------------------------------------------------------------------------
61 It is possible to have whitespace between the
63 option and its parameter.
66 .\" --------------------------------------------------------------------------
68 .\" --------------------------------------------------------------------------
71 creates a font file for use with a Hewlett-Packard LaserJet~4\(enseries
72 (or newer) printer with
74 using data from an HP tagged font metric (TFM) file.
76 is the name of the TFM file for the font; Intellifont and
77 TrueType TFM files are supported, but symbol set TFM files are not.
79 is a file giving the groff names for characters in the font; this file
80 should consist of a sequence of lines of the form:
83 m u c1 c2 \fR.\|.\|. [
92 is a decimal integer giving the MSL number of the character,
94 is a hexadecimal integer giving the Unicode value of the character,
98 are the groff names of the character.
100 The values can be separated by any whitespace; the Unicode value must
101 use uppercase digits A\^\(en\^F, and must be without a leading
106 Unicode values corresponding to composite glyphs are decomposed; e.g.,
107 .CW \[oq] u00C0 \[cq]
109 .CW \[oq] u0041_0300 \[cq].
111 The name for a glyph without a groff name may be given as
113 if the glyph corresponds to a Unicode value, or as an unnamed glyph
116 If the given Unicode value is in the Private Use Area
117 (0xE000\^\(en\^0xF8FF), the glyph is included as an unnamed glyph.
120 .BR groff_diff (@MAN1EXT@)
121 for additional information about unnamed glyphs and how to access them.
125 Blank lines and lines beginning with
131 following one or more groff names begins a comment.
135 is a valid groff name, it must appear first in a list of
136 groff names if a comment is included, e.g.,
138 .CW "3 0023 # # number sign"
142 .CW "3 0023 # sh # number sign"
146 .CW "3 0023 sh # # number sign"
148 which will treat the first
150 as the beginning of the comment.
155 is the name of the groff font file.
157 The groff font file is written to
163 the output is written to the standard output.
169 option should be given if the font is special
174 should search it whenever
175 a character is not found in the current font).
177 If the font is special,
178 it should be listed in the
180 command in the DESC file;
181 if it is not special, there is no need to list it, since
183 can automatically mount it when it\[aq]s first used.
191 automatically will generate an italic correction,
192 a left italic correction and a subscript correction
194 (the significance of these parameters is explained in
195 .BR groff_font (@MAN5EXT@)).
198 .\" --------------------------------------------------------------------------
200 .\" --------------------------------------------------------------------------
204 Include characters in the TFM file that are not included in the map
207 A glyph with corresponding Unicode value is given the name
209 a glyph without a Unicode value is included as an unnamed glyph
210 \&\[oq]\-\^\-\^\-\[cq].
212 A glyph with a Unicode value in the Private Use Area
213 (0xE000\^\(en\^0xF8FF) also is included as an unnamed glyph.
216 This option provides a simple means of adding Unicode-named and
217 unnamed glyphs to a font without including them in the map file, but
218 it affords little control over which glyphs are placed in a regular
219 font and which are placed in a special font.
221 The presence or absence of the
223 option has some effect on which glyphs are included: without the
225 option, only the \(lqtext\(rq symbol sets are searched for matching
228 option, only the \(lqmathematical\(rq symbol sets
231 Nonetheless, restricting the symbol sets searched isn\[aq]t very
232 selective\(emmany glyphs are placed in both regular and special fonts.
236 option should be used only as a last resort.
241 Dump information about the TFM file to the standard output; this
242 option can be useful for ensuring that a TFM file is a proper match
243 for a font, and that the contents of the TFM file are suitable.
245 The information includes the values of important TFM tags, and a
246 listing (by MSL number for Intellifont TFM files or by Unicode value
247 for TrueType TFM files) of the glyphs included in the TFM file.
249 The unit of measure \[oq]DU\[cq] for some tags indicates design units;
250 there are 8782 design units per em for Intellifont fonts, and 2048
251 design units per em for TrueType fonts.
253 Note that the accessibility of a glyph depends on its inclusion in a
254 symbol set; some TFM files list many glyphs but only a few symbol
258 The glyph listing includes the glyph index within the TFM file, the MSL
259 or Unicode value, and the symbol set and character code that will be
260 used to print the glyph.
265 groff names are given for matching glyphs.
267 If only the glyph index and MSL or Unicode value are given, the glyph
268 does not appear in any supported symbol set and cannot be printed.
281 Suppress warnings about characters in the map file that were not found
284 Warnings never are given for unnamed glyphs or by glyphs named by their
287 This option is useful when sending the output of
289 to the standard output.
303 command to the font file, and affects the order in which HP symbol sets
304 are searched for each glyph.
308 option, the \[lq]text\[rq] sets are searched before
309 the \[lq]mathematical\[rq] symbol sets.
312 option, the search order is reversed.
316 Generate an italic correction for each character so that the
317 character\[aq]s width plus the character\[aq]s italic correction is
320 thousandths of an em plus the amount by which the right edge of the
321 character\[aq]s bounding is to the right of the character\[aq]s
324 If this would result in a negative italic correction, use a zero italic
328 Also generate a subscript correction equal to the product of the
329 tangent of the slant of the font and four fifths of the x-height of
332 If this would result in a subscript correction greater than the italic
333 correction, use a subscript correction equal to the italic correction
337 Also generate a left italic correction for each character equal to
339 thousandths of an em plus the amount by which the left edge of the
340 character\[aq]s bounding box is to the left of the character\[aq]s
343 The left italic correction may be negative.
346 This option normally is needed only with italic or oblique fonts;
347 a value of 50 (0.05 em) usually is a reasonable choice.
350 .\" --------------------------------------------------------------------------
352 .\" --------------------------------------------------------------------------
355 .TP \w'\fB@FONTDIR@/devlj4/generate/\fP\,\fI*\/\fP.map'u+2n
356 .B @FONTDIR@/devlj4/DESC
357 Device description file.
359 .BI @FONTDIR@/devlj4/ F
360 Font description file for font
363 .BI @FONTDIR@/devlj4/generate/ * .map
367 .\" --------------------------------------------------------------------
369 .\" --------------------------------------------------------------------
370 .BR groff (@MAN1EXT@),
371 .BR groff_diff (@MAN1EXT@),
372 .BR grolj4 (@MAN1EXT@),
373 .BR groff_font (@MAN5EXT@),
374 .BR lj4_font (@MAN5EXT@)
377 .\" --------------------------------------------------------------------
379 .\" --------------------------------------------------------------------