Penguin
Annotated edit history of hpftodit(1) version 4, including all changes. View license author blame.
Rev Author # Line
1 perry 1 HPFTODIT
2 !!!HPFTODIT
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 FILES
8 BUGS
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 hpftodit - create font description files for use with groff -Tlj4
15 !!SYNOPSIS
16
17
18 __hpftodit__ [[ __-sv__ ] [[ __-i__''n'' ]
19 ''tfm_file map_file font''
20
21
22 It is possible to have whitespace between the __-i__
23 command line option and its parameter.
24 !!DESCRIPTION
25
26
27 __hpftodit__ creates a font file for use with __groff
28 -Tlj4__ from an HP tagged font metric file.
29 ''tfm_file'' is the name of the tagged font metric file
30 for the font. ''map_file'' is a file giving the groff
31 names for characters in the font; this file should consist
32 of a sequence of lines of the form:
33
34
35 ''n c1 c2'' ...
36
37
38 where ''n'' is a decimal integer giving the MSL number of
39 the character, and ''c1'', ''c2'',... are the groff
40 names of the character. ''font'' is the name of the groff
41 font file. The groff font file is written to
42 ''font''.
43
44
45 The __-s__ option should be given if the font is special
46 (a font is ''special'' if __troff__ should search it
47 whenever a character is not found in the current font.) If
48 the font is special, it should be listed in the __fonts__
49 command in the DESC file; if it is not special, there is no
50 need to list it, since __troff__ can automatically mount
51 it when it's first used.
52
53
54 If the __-i__ option is used, __hpftodit__ will
55 automatically generate an italic correction, a left italic
56 correction and a subscript correction for each character
57 (the significance of these parameters is explained in
4 perry 58 groff_font(5)).
1 perry 59 !!OPTIONS
60
61
62 __-v__
63
64
65 Print the version number.
66
67
68 __-s__
69
70
71 The font is special. The effect of this option is to add the
72 __special__ command to the font file.
73
74
75 __-i__''n''
76
77
78 Generate an italic correction for each character so that the
79 character's width plus the character's italic correction is
80 equal to ''n'' design units plus the amount by which the
81 right edge of the character's bounding is to the right of
82 the character's origin. If this would result in a negative
83 italic correction, use a zero italic correction instead.
84 There are 8782 design units per em for Intellifont
85 fonts.
86
87
88 Also generate a subscript correction equal to the product of
89 the tangent of the slant of the font and four fifths of the
90 x-height of the font. If this would result in a subscript
91 correction greater than the italic correction, use a
92 subscript correction equal to the italic correction
93 instead.
94
95
96 Also generate a left italic correction for each character
97 equal to ''n'' design units plus the amount by which the
98 left edge of the character's bounding box is to the left of
99 the character's origin. The left italic correction may be
100 negative.
101
102
103 This option is normally needed only with italic (or oblique)
104 fonts.
105 !!FILES
106
107
108 __/usr/share/groff/1.17.2/font/devlj4/DESC__
109
110
111 Device description file.
112
113
114 __/usr/share/groff/1.17.2/font/devlj4/__''F''
115
116
117 Font description file for font ''F''.
118 !!BUGS
119
120
121 This program was written without the benefit of complete,
122 official documentation on the tagged font metric format. It
123 is therefore likely that it will fail to work on tfm files
124 that are dissimilar to those for the internal fonts on the
125 Laserjet 4, with which it was tested:
126
127
3 perry 128 !TrueType tfm files are not supported.
1 perry 129 !!SEE ALSO
130
131
4 perry 132 groff(1), grolj4(1),
133 groff_font(5)
1 perry 134 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.