gftype(1)

gftype1

Verify and translate a generic font (gf) bitmap file to plain text

Usage

gftype [-i] [-m] gf_file [gf] [output_file]

Overview

The gftype program translates a gf (generic font) bitmap file output by, typically, mf(1), to a file that humans can read. It also serves as a gf file-validating program (i.e., if gftype can read it, it's correct) and as an example of a gf-reading program for other software that wants to read gf files.

The gf_file on the command line must include the resolution, but can omit the suffix "gf". If no output_file is specified, the output goes to stdout.

Options

See tex(1) for details of command-line parsing.

-images

Includes ASCII art images of the characters in the output.

-mnemonics

Include a symbolic listing of the gf commands in the output.

The standard -help and -version options are also supported.

Environment

The program looks for gf_file using the environment variables GFFONTS, GLYPHFONTS, and TEXFONTS, in that order. If none are set, it uses the system default. See the Kpathsea manual at https://tug.org/kpathsea for the details of the searching.

Releases

19 releases since Debian 1.1 (Buzz); the text changed 16 times.

  1. 1.1–1.2
  2. 1.3
  3. 2.0–2.1
  4. 2.2
  5. 3.0
  6. 3.1
  7. 4.0
  8. 5.0
  9. 6.0
  10. 7
  11. 8
  12. 9
  13. 10
  14. 11
  15. 12
  16. 13
  17. Arch

-images since Arch Linux 2026-11-01; -mnemonics since Arch Linux 2026-11-01.

Authors

David Fuchs and Don Knuth wrote the program. It was published as part of the Metafontware technical report. Paul Richards originally ported it to Unix.

Public discussion list and bug reports: https://lists.tug.org/tex-k

From texlive-doc 2026.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.