{
    "mode": "info",
    "parameter": "gftodvi",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/gftodvi/json",
    "generated": "2026-10-29T16:47:53Z",
    "sections": {
        "File: web2c.info,  Node: gftodvi invocation,  Next: mft invocation,  Prev: Online Metafont graphics,  Up: Metafont": {
            "content": "",
            "subsections": [
                {
                    "name": "6.5 GFtoDVI: Character proofs of fonts",
                    "content": "GFtoDVI makes \"proof sheets\" from a GF bitmap file as output by, for\nexample, Metafont (*note Metafont::).  This is an indispensable aid for\nfont designers or Metafont hackers.  Synopsis:\n\ngftodvi [OPTION]... GFNAME[gf]\n\nThe font GFNAME is searched for in the usual places (*note\n(kpathsea)Glyph lookup::).  To see all the relevant paths, set the\nenvironment variable 'KPATHSEADEBUG' to '-1' before running the\nprogram.\n\nThe suffix 'gf' is supplied if not already present.  This suffix is\nnot an extension, no '.' precedes it; for instance, 'cmr10.600gf'.\n\nThe output filename is the basename of GFNAME extended with '.dvi',\ne.g., 'gftodvi /wherever/foo.600gf' creates './foo.dvi'.\n\nThe characters from GFNAME appear one per page in the DVI output,\nwith labels, titles, and annotations, as specified in Appendix H\n(Hardcopy Proofs) of 'The Metafontbook'.\n\nGFtoDVI uses several fonts besides GFNAME itself:\n\n* \"gray font\" (default 'gray'): for the pixels that actually make up\nthe character.  Simply using black is not right, since then labels,\nkey points, and other information could not be shown.\n\n* \"title font\" (default 'cmr8'): for the header information at the\ntop of each output page.\n\n* \"label font\" (default 'cmtt10'): for the labels on key points of\nthe figure.\n\n* \"slant font\" (no default): for diagonal lines, which are otherwise\nsimulated using horizontal and vertical rules.\n\nTo change the default fonts, you must use 'special' commands in your\nMetafont source file, typically via commands like 'slantfont slantlj4'."
                }
            ]
        },
        "There is no default slant font since no one printer is suitable as a": {
            "content": "default.  You can make your own by copying one of the existing files,\nsuch as '.../fonts/source/public/misc/slantlj4.mf' and then running 'mf'\non it.\n\nFor testing purposes, you may it useful to run 'mf-nowin rtest' (hit\nRETURN when it stops) to get a 'gf' file of a thorn glyph.  Or use 'mf'\ninstead of 'mf-nowin' to have the glyph(s) displayed on the screen.",
            "subsections": []
        },
        "After that, 'gftodvi rtest.2602gf' should produce 'rtest.dvi', which you": {
            "content": "process as usual.\n\nThe program accepts the following option, as well as the standard\n'-verbose', '-help', and '-version' (*note Common options::):\n\n'-overflow-label-offset=POINTS'\nTypeset the so-called overflow labels, if any, POINTS TeX points\nfrom the right edge of the character bounding box.  The default is\na little over two inches (ten million scaled points, to be\nprecise).  Overflow equations are used to locate coordinates when\ntheir actual position is too crowded with other information.\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}