version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
GFTODVI |
|
|
2 |
!!!GFTODVI |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
ENVIRONMENT |
|
|
8 |
FILES |
|
|
9 |
SEE ALSO |
|
|
10 |
AUTHORS |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
gftodvi - make proof sheets from generic font files |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__gftodvi__ [[ __-overflow-label-offset__''=real'' ] |
|
|
20 |
[[ __-verbose__ ] [[ ''gf_file_name'' ] |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
This manual page is not meant to be exhaustive. The complete |
|
|
25 |
documentation for this version of TEX can be found in the |
|
|
26 |
info file or manual ''Web2C: A TeX |
|
|
27 |
implementation''. |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
The __gftodvi__ program converts a generic font |
|
|
31 |
(''gf'') file output by, for example, mf(1), to a |
|
|
32 |
device independent (DVI) file (that can then be typeset |
|
|
33 |
using the same software that has already been written for |
|
|
34 |
TEX). The characters in the ''gf'' file will appear one |
|
|
35 |
per page, with labels, titles, and annotations as specified |
|
|
36 |
in Appendix H (Hardcopy Proofs) of ''The M |
|
|
37 |
ETAFONT book''. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
__gftodvi__ uses other fonts in addition to the main |
|
|
41 |
''gf'' file. A `gray' font is used to typeset the pixels |
|
|
42 |
that actually make up the character. (We wouldn't want all |
|
|
43 |
the pixels to be simply black, since then labels, key |
|
|
44 |
points, and other information would be lost.) A `title' font |
|
|
45 |
is used for the information at the top of the page. A |
|
|
46 |
`label' font is used for the labels on key points of the |
|
|
47 |
figure. A `slant' font is used to typeset diagonal lines, |
|
|
48 |
which otherwise have to be simulated using horizontal and |
|
|
49 |
vertical rules. The default gray, title, and label fonts are |
|
|
50 |
''gray'', ''cmr8'', and ''cmtt10'', respectively; |
|
|
51 |
there is no default slant font. |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
To change the default fonts, you can give __special__ |
|
|
55 |
commands in your M ETAFONT source file, or |
|
|
56 |
you can change the fonts online. An online dialog ensues if |
|
|
57 |
you end the ''gf_file_name'' with a `/'. For |
|
|
58 |
example, |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
gftodvi cmr10.300gf/ |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Special font substitution: grayfont black |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
OK; any more? grayfontarea /home/art/don/ |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
OK; any more? slantfont |
|
|
71 |
/home/fonts/slantimagen6 |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
OK; any more? |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
will use ''/home/art/don/black'' as the `gray' font and |
|
|
78 |
''/home/fonts/slantimagen6'' as the `slant' font (this |
|
|
79 |
name indicates a font for lines with slope 1/6 at the |
|
|
80 |
resolution of an Imagen printer). |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
The ''gf_file_name'' on the command line must be |
|
|
84 |
complete. (The program prompts you for it if you don't give |
|
|
85 |
it.) Because the resolution is part of the extension, it |
|
|
86 |
would not make sense to append a default extension as is |
|
|
87 |
done with TEX or DVI-reading software. The output file name |
|
|
88 |
defaults to the same root as the ''gf'' file, with the |
|
|
89 |
''dvi'' extension added. For example, the input file |
|
|
90 |
''cmr10.2602gf'' would become |
|
|
91 |
''cmr10.dvi''. |
|
|
92 |
!!OPTIONS |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
The argument to __-overflow-label-offset__ specifies the |
|
|
96 |
distance from the right edge of the character bounding box |
|
|
97 |
at which the overflow equations (if any) are typeset. The |
|
|
98 |
value is given in TEX points. The default is a little over |
|
|
99 |
two inches. |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
Without the __-verbose__ option, __gftodvi__ operates |
|
|
103 |
silently. With it, a banner and progress report are printed |
|
|
104 |
on ''stdout''. |
|
|
105 |
!!ENVIRONMENT |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
__gftodvi__ looks for ''gf_file_name'' using the |
|
|
109 |
environment variable GFFONTS. If that is not set, it uses |
|
|
110 |
the variable TEXFONTS. If that is not set, it uses the |
|
|
111 |
system default. |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
See tex(1) for the details of the |
|
|
115 |
searching. |
|
|
116 |
!!FILES |
|
|
117 |
|
|
|
118 |
|
|
|
119 |
''{gray.tfm,...}'' |
|
|
120 |
|
|
|
121 |
|
|
|
122 |
The default fonts. |
|
|
123 |
|
|
|
124 |
|
|
|
125 |
''{gray.mf,...}'' |
|
|
126 |
|
|
|
127 |
|
|
|
128 |
The M ETAFONT sources. |
|
|
129 |
!!SEE ALSO |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
tex(1), mf(1). |
|
|
133 |
Donald E. Knuth, ''The M ETAFONT book'' |
|
|
134 |
(Volume C of ''Computers and Typesetting''), |
|
|
135 |
Addison-Wesley, 1986, ISBN 0-201-13445-4. |
|
|
136 |
Donald E. Knuth et al., ''M ETAFONT |
|
|
137 |
ware''. |
|
|
138 |
!!AUTHORS |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
Donald E. Knuth wrote the program. It was published as part |
|
|
142 |
of the ''M ETAFONT ware'' technical |
|
|
143 |
report, available from the TEX Users Group. Paul Richards |
|
|
144 |
ported it to Unix. |
|
|
145 |
---- |