# gftodvi(1) - man - phpMan

[GFTODVI(1)](https://www.chedong.com/phpMan.php/man/GFTODVI/1/markdown)                             General Commands Manual                            [GFTODVI(1)](https://www.chedong.com/phpMan.php/man/GFTODVI/1/markdown)



## NAME
       gftodvi - make proof sheets from generic font files

## SYNOPSIS
       **gftodvi** [**-overflow-label-offset=**_real_] [**-verbose**] _gf_file_name_

## DESCRIPTION
       This  manual  page is not meant to be exhaustive. The complete documentation for this version
       of TeX can be found in the info file or manual _Web2C:_ _A_ _TeX_ _implementation_.

       The **gftodvi** program converts a generic font (_gf_) file output by, for example, [**mf**(1)](https://www.chedong.com/phpMan.php/man/mf/1/markdown), to a de‐
       vice  independent  (DVI)  file (that can then be typeset using the same software that has al‐
       ready been written for TeX).  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_ _Metafont__‐
       _book_.

       **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 sim‐
       ply 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 la‐
       bels 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 Metafont source  file,  or
       you  can  change the fonts online. An online dialog ensues if you end the _gf_file_name_ with a
       `/'. For example,
         gftodvi cmr10.300gf/
         Special font substitution: grayfont black
         OK; any more? grayfontarea /home/art/don/
         OK; any more? slantfont /home/fonts/slantimagen6
         OK; any more? <RET>
       will use _/home/art/don/black_ as the `gray' font and _/home/fonts/slantimagen6_ as  the  `slant'
       font  (this  name  indicates  a  font for lines with slope 1/6 at the resolution of an Imagen
       printer).

       The _gf_file_name_ on the command line must be complete. Because the resolution is part of  the
       extension,  it would not make sense to append a default extension as is done with TeX or DVI-
       reading software.  The output file name uses the same root as the _gf_ file, with the **.dvi**  ex‐
       tension added.  For example, the input file _cmr10.2602gf_ would become _cmr10.dvi_.

## OPTIONS
       The  argument  to  **-overflow-label-offset**  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 TeX points. The default is a little over two inches.

       Without the **-verbose** option, **gftodvi** operates silently. With it, a banner and progress report
       are printed on _stdout_.

## ENVIRONMENT
       **gftodvi** looks for _gf_file_name_ using the environment variable GFFONTS. If that is not set, it
       uses the variable TEXFONTS. If that is not set, it uses the system default.

       See [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown) for the details of the searching.

## FILES
       _{gray.tfm,...}_
              The default fonts.

       _{gray.mf,...}_
              The Metafont sources.

## SEE ALSO
       [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown), [**mf**(1)](https://www.chedong.com/phpMan.php/man/mf/1/markdown).
       Donald  E.  Knuth,  _The_ _Metafontbook_ (Volume C of _Computers_ _and_ _Typesetting_), Addison-Wesley,
       1986, ISBN 0-201-13445-4.
       Donald E. Knuth et al., _Metafontware_.

## AUTHORS
       Donald E. Knuth wrote and still maintains the program. It was published as part of the  _Meta__‐
       _fontware_ technical report. Paul Richards originally ported it to Unix.  Bug reports should go
       to <tex-k@tug.org> (<https://lists.tug.org/tex-k>).



Web2C 2022/dev                              4 March 2021                                  [GFTODVI(1)](https://www.chedong.com/phpMan.php/man/GFTODVI/1/markdown)
