1GFTODVI(1) General Commands Manual GFTODVI(1)
2
3
4
6 gftodvi - make proof sheets from generic font files
7
9 gftodvi [-overflow-label-offset=real] [-verbose] gf_file_name
10
12 This manual page is not meant to be exhaustive. The complete documenta‐
13 tion for this version of TeX can be found in the info file or manual
14 Web2C: A TeX implementation.
15
16 The gftodvi program converts a generic font (gf) file output by, for
17 example, mf(1), to a device independent (DVI) file (that can then be
18 typeset using the same software that has already been written for TeX).
19 The characters in the gf file will appear one per page, with labels,
20 titles, and annotations as specified in Appendix H (Hardcopy Proofs) of
21 The Metafontbook.
22
23 gftodvi uses other fonts in addition to the main gf file. A `gray'
24 font is used to typeset the pixels that actually make up the character.
25 (We wouldn't want all the pixels to be simply black, since then labels,
26 key points, and other information would be lost.) A `title' font is
27 used for the information at the top of the page. A `label' font is used
28 for the labels on key points of the figure. A `slant' font is used to
29 typeset diagonal lines, which otherwise have to be simulated using hor‐
30 izontal and vertical rules. The default gray, title, and label fonts
31 are gray, cmr8, and cmtt10, respectively; there is no default slant
32 font.
33
34 To change the default fonts, you can give special commands in your
35 Metafont source file, or you can change the fonts online. An online di‐
36 alog ensues if you end the gf_file_name with a `/'. For example,
37 gftodvi cmr10.300gf/
38 Special font substitution: grayfont black
39 OK; any more? grayfontarea /home/art/don/
40 OK; any more? slantfont /home/fonts/slantimagen6
41 OK; any more? <RET>
42 will use /home/art/don/black as the `gray' font and /home/fonts/slan‐
43 timagen6 as the `slant' font (this name indicates a font for lines with
44 slope 1/6 at the resolution of an Imagen printer).
45
46 The gf_file_name on the command line must be complete. Because the res‐
47 olution is part of the extension, it would not make sense to append a
48 default extension as is done with TeX or DVI-reading software. The out‐
49 put file name uses the same root as the gf file, with the .dvi exten‐
50 sion added. For example, the input file cmr10.2602gf would become
51 cmr10.dvi.
52
54 The argument to -overflow-label-offset specifies the distance from the
55 right edge of the character bounding box at which the overflow equa‐
56 tions (if any) are typeset. The value is given in TeX points. The de‐
57 fault is a little over two inches.
58
59 Without the -verbose option, gftodvi operates silently. With it, a ban‐
60 ner and progress report are printed on stdout.
61
63 gftodvi looks for gf_file_name using the environment variable GFFONTS.
64 If that is not set, it uses the variable TEXFONTS. If that is not set,
65 it uses the system default.
66
67 See tex(1) for the details of the searching.
68
70 {gray.tfm,...}
71 The default fonts.
72
73 {gray.mf,...}
74 The Metafont sources.
75
77 tex(1), mf(1).
78 Donald E. Knuth, The Metafontbook (Volume C of Computers and Typeset‐
79 ting), Addison-Wesley, 1986, ISBN 0-201-13445-4.
80 Donald E. Knuth et al., Metafontware.
81
83 Donald E. Knuth wrote and still maintains the program. It was published
84 as part of the Metafontware technical report. Paul Richards originally
85 ported it to Unix. Bug reports should go to tex-k@tug.org
86 (https://lists.tug.org/tex-k).
87
88
89
90Web2C 2022 4 March 2021 GFTODVI(1)