gftopk(1)

gftopk1

Convert generic font (gf) bitmap files to packed font (pk) files

Usage

gftopk [-v] gf_file [gf] [pk_file]

Overview

The gftopk program converts a generic font (gf) bitmap file output by, typically, mf(1), to a packed font bitmap file for use by DVI-reading programs; notably, dvips(1) only supports pk files. Packed font files (pk files) are much smaller than the corresponding gf files.

The gf_file on the command line must include the resolution, but can omit the suffix "gf". The pk_file defaults to the same (stripped) name as gf_file, and it is placed in the current working directory with the pk suffix replacing gf. For example, the input file /some/directory/cmr10.300gf would become cmr10.300pk.

Options

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

By default, gftodvi operates silently. With the -v (a.k.a. -verbose) option, some reports are printed on stdout.

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

Authors

Tomas Rokicki 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.