1 .TH HPFTODIT @MAN1EXT@ "@MDATE@" "groff @VERSION@"
3 hpftodit \- create font description files for use with groff \-Tlj4
6 .\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
7 .do nr hpftodit_C \n[.C]
11 .\" ====================================================================
13 .\" ====================================================================
15 .\" Copyright (C) 1994-2018 Free Software Foundation, Inc.
17 .\" Permission is granted to make and distribute verbatim copies of this
18 .\" manual provided the copyright notice and this permission notice are
19 .\" preserved on all copies.
21 .\" Permission is granted to copy and distribute modified versions of
22 .\" this manual under the conditions for verbatim copying, provided that
23 .\" the entire resulting derived work is distributed under the terms of
24 .\" a permission notice identical to this one.
26 .\" Permission is granted to copy and distribute translations of this
27 .\" manual into another language, under the above conditions for
28 .\" modified versions, except that this permission notice may be
29 .\" included in translations approved by the Free Software Foundation
30 .\" instead of in the original English.
33 .\" ====================================================================
35 .\" ====================================================================
62 .\" ====================================================================
64 .\" ====================================================================
67 creates a font file for use with a Hewlett-Packard LaserJet\~\%4-series
68 (or newer) printer with
70 using data from an HP tagged font metric (TFM) file.
73 is the name of the TFM file for the font;
74 Intellifont and TrueType TFM files are supported,
75 but symbol set TFM files are not.
80 names for characters in the font;
81 this file should consist of a sequence of lines of the form:
84 .IR "m u c1 c2 " "\&.\|.\|.\& [#" " comment" "]"
89 is a decimal integer giving the MSL (Master Symbol List) number of the
92 is a hexadecimal integer giving the Unicode value of the character,
98 names of the character
103 The values can be separated by any whitespace;
104 the Unicode value must use uppercase digits A\^\[en]\^F,
105 and must be without a leading
110 Unicode values corresponding to composite glyphs are decomposed;
112 .RB \[oq] u00C0 \[cq]
114 .RB \[oq] u0041_0300 \[cq].
116 The name for a glyph without a
120 if the glyph corresponds to a Unicode value,
121 or as an unnamed glyph
122 .RB \[oq] \-\-\- \[cq].
124 If the given Unicode value is in the Private Use Area
125 (0xE000\^\[en]\^0xF8FF),
126 the glyph is included as an unnamed glyph.
129 .BR groff_diff (@MAN1EXT@)
130 for additional information about unnamed glyphs and how to access them.
134 Blank lines and lines beginning with
140 following one or more
142 names begins a comment.
149 it must appear first in a list of
151 names if a comment is included,
157 3 0023 # # number sign
166 3 0023 # sh # number sign
175 3 0023 sh # # number sign
179 which will treat the first
181 as the beginning of the comment.
187 font file is written to the specified
191 the font file is written to the standard output.
197 option should be given if the font is special
198 (a font is \[lq]special\[rq] if
200 should search it whenever a character is not found in the current font).
202 If the font is special,
203 it should be listed in the
205 command in the DESC file;
206 if it is not special,
207 there is no need to list it,
210 can automatically mount it when it's first used.
218 automatically will generate an italic correction,
219 a left italic correction and a subscript correction
221 (the significance of these parameters is explained in
222 .BR groff_font (@MAN5EXT@)).
225 .\" ====================================================================
227 .\" ====================================================================
231 Include characters in the TFM file that are not included in
234 A glyph with corresponding Unicode value is given the name
236 a glyph without a Unicode value is included as an unnamed glyph
237 \[oq]\-\^\-\^\-\[cq].
239 A glyph with a Unicode value in the Private Use Area
240 (0xE000\^\[en]\^0xF8FF) also is included as an unnamed glyph.
244 This option provides a simple means of adding Unicode-named and
245 unnamed glyphs to a font without including them in the map file,
246 but it affords little control over which glyphs are placed in a regular
247 font and which are placed in a special font.
249 The presence or absence of the
251 option has some effect on which glyphs are included:
255 only the \[lq]text\[rq] symbol sets are searched for matching glyphs;
259 only the \[lq]mathematical\[rq] symbol sets are searched.
262 restricting the symbol sets searched isn't very selective\[em]many
263 glyphs are placed in both regular and special fonts.
268 option should be used only as a last resort.
273 Dump information about the TFM file to the standard output;
274 this option can be useful for ensuring that a TFM file is a proper match
276 and that the contents of the TFM file are suitable.
278 The information includes the values of important TFM tags,
279 and a listing (by MSL number for Intellifont TFM files or by Unicode
280 value for TrueType TFM files) of the glyphs included in the TFM file.
282 The unit of measure \[oq]DU\[cq] for some tags indicates design units;
283 there are 8782\~design units per em for Intellifont fonts,
284 and 2048\~design units per em for TrueType fonts.
286 Note that the accessibility of a glyph depends on its inclusion in a
288 some TFM files list many glyphs but only a few symbol sets.
291 The glyph listing includes the glyph index within the TFM file,
292 the MSL or Unicode value,
293 and the symbol set and character code that will be used to print the
300 names are given for matching glyphs.
302 If only the glyph index and MSL or Unicode value are given,
303 the glyph does not appear in any supported symbol set and cannot be
318 Suppress warnings about characters in the map file that were not found
321 Warnings never are given for unnamed glyphs or by glyphs named by their
324 This option is useful when sending the output of
326 to the standard output.
332 version number and exit.
340 command to the font file,
341 and affects the order in which HP symbol sets are searched for each
347 the \[lq]text\[rq] sets are searched before the \[lq]mathematical\[rq]
352 the search order is reversed.
356 Generate an italic correction for each character so that the character's
357 width plus the character's italic correction is equal to
359 thousandths of an em plus the amount by which the right edge of the
360 character's bounding is to the right of the character's origin.
362 If this would result in a negative italic correction,
363 use a zero italic correction instead.
366 Also generate a subscript correction equal to the product of the tangent
367 of the slant of the font and four fifths of the x-height of the font.
369 If this would result in a subscript correction greater than the italic
371 use a subscript correction equal to the italic correction instead.
374 Also generate a left italic correction for each character equal to
376 thousandths of an em plus the amount by which the left edge of the
377 character's bounding box is to the left of the character's origin.
379 The left italic correction may be negative.
382 This option normally is needed only with italic or oblique fonts;
383 a value of 50 (0.05\~em) usually is a reasonable choice.
386 .\" ====================================================================
388 .\" ====================================================================
391 .I @FONTDIR@/\:devlj4/\:DESC
392 device description file
396 .IR @FONTDIR@/\:devlj4/\: F
397 Font description file for font
402 .IR @FONTDIR@/\:devlj4/\:generate/\: * .map
406 .\" ====================================================================
408 .\" ====================================================================
409 .BR groff (@MAN1EXT@),
410 .BR groff_diff (@MAN1EXT@),
411 .BR grolj4 (@MAN1EXT@),
412 .BR groff_font (@MAN5EXT@),
413 .BR lj4_font (@MAN5EXT@)
416 .\" Restore compatibility mode (for, e.g., Solaris 10/11).
420 .\" ====================================================================
422 .\" ====================================================================
428 .\" vim: set filetype=groff textwidth=72: