pktogf(1)

pktogf1

Convert packed font files to generic font files (both bitmaps)

Usage

pktogf [-v] pk_file [gf_file]

Overview

The pktogf program converts a packed font bitmap file (pk) to a generic font bitmap file (gf). Packed font files are much smaller than the corresponding gf files, but you may want to convert to gf in order to use gftype(1) and gftodvi(1) utility programs.

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

Options

See tex(1) for details of command-line parsing. By default, pktogf operates silently. With the -v (a.k.a. -verbose) option, the version number of the program and statistics about the unpacking are output to stdout.

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

Environment

The program looks for pk_file using the environment variables PKFONTS, TEXPKS, 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. Pierre MacKay adapted it for compilation with web2c.

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.