pk2bm(1)

pk2bm1

Create a bitmap from a tex pkfont

Synopsis:

pk2bm [-bh] [-Wwidth] [-Hheight] -cchar pkfont

pk2bm [-bh] [-Wwidth] [-Hheight] -ooctchar pkfont

Overview

This program generates a bitmap (ASCII file) which can be used to create X11 applications. The bitmap file consists of all pixels of the specified character (via the -c or -o option) from the given pkfont. The format is described in bitmap(X11).

The pkfont is a packed fontfile generated by gftopk(TeX) from a gffont. A gffont is the output of METAFONT a program to design fonts in a device independent way.

With the -b flag a bitmap is generated in which all black pixels are drawn as a `*' and all white bits as a `.'. With the -h flag a hexadecimal bitmap dump is generated.

The -W and/or -H options can be used to create a bitmap of respectivally `width' and `height' pixels. The pk-bitmap will in this case be centered according to these new dimensions.

The output is written to the standard output.

Releases

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

  1. 1.1–3.0
  2. 3.1
  3. 4.0–8
  4. 9–11
  5. 12
  6. 13–Arch

Author

Piet Tutelaers
Maintained in TeX Live; please send bug reports or other correspondence
to [email protected] (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.