gftodvi
| Chapter 6. Programs |

## Name

gftodvi — make proof sheets from generic font files

## Synopsis

`gftodvi` [`option`...] [`gffile`]

## Description

The gftodvi program converts a generic font (GF) file output by, for example, METAFONT, to a device independent (DVI) file (that can then be typeset using the same software that has already been written for). The characters in the GF file will appear one per page, with labels, titles, and annotations as specified in Appendix H (Hardcopy Proofs) of The METAFONTbook.

gftodvi uses other fonts in addition to the main GF file. A “gray” font is used to typeset the pixels that actually make up the character. (We wouldn't want all the pixels to be simply black, since then labels, key points, and other information would be lost.) A “title” font is used for the information at the top of the page. A “label” font is used for the labels on key points of the figure. A “slant” font is used to typeset diagonal lines, which otherwise have to be simulated using horizontal and vertical rules. The default gray, title, and label fonts are `gray`, `cmr8`, and `cmtt10`, respectively; there is no default slant font.

To change the default fonts, you can give special commands in your source file, or you can change the fonts on the command-line.

The GF file name on the command-line must be complete. (The program prompts you for it if you don't give it.) Because the resolution is part of the extension, it would not make sense to append a default extension as is done with other DVI-reading software. The output file name defaults to the same root as the GF file, with the `.dvi` extension added. For example, the input file `cmr10.2602gf` would become `cmr10.dvi`.

## Options

`--alias=`app``

  Pretend to be `app`, i.e., set program (and memory dump) name to `app`. This may affect the search paths and other values used. Using this option is equivalent to copying the executable file to ``app`.exe` and invoking ``app`.exe`.

`--disable-installer`

  Disable automatic installation of missing packages. Specifying this option overwrites the global configuration setting in MiKTeX Options (see the section called “Automatic Package Installation”).

`--enable-installer`

  Enable automatic installation of missing packages. Specifying this option overwrites the global configuration setting in MiKTeX Options (see the section called “Automatic Package Installation”).

`--gray-font=`font``

  Sets the “gray” font. Default is `gray`.

`--help`

  Give help and exit.

`--hhelp`

  This option is only available on Windows systems: show the manual page in an HTML Help window and exit when the window is closed.

`--include-directory=`dir``

  Prefix `dir` to the search path.

`--label-font=`font``

  Sets the “label” font. Default is `cmtt10`.

`--logo-font=`font``

  Sets the “logo” font. Default is `logo8`.

`--overflow-label-offset=`real``

  Specifies the distance from the right edge of the character bounding box at which the overflow equations (if any) are typeset. The value is given in points. The default is a little over two inches.

`--record-package-usages=`file``

  Record all package usages and write them into `file`.

`-slant-font=`font``

  Sets the “slant” font. There is no default.

`-title-font=`font``

  Sets the “title” font. Default is `cmr8`.

`--trace[=`tracestreams`]`

  Enable trace messages. The `tracestreams` argument, if speciefied, is a comma-separated list of trace stream names (Chapter 9, Trace Streams).

`--version`

  Show version information and exit.

## Documentation

The METAFONTbook

  ISBN 0-201-13444-6

findtexmf |  | initexmf