bdftruncate(1)

bdftruncate1

Generate truncated bdf font from iso 10646-1-encoded bdf font

Usage

bdftruncate threshold < source.bdf > destination.bdf

bdftruncate [{--help | --version}]

Overview

bdftruncate allows one to generate from an ISO10646-1 encoded BDF font other ISO10646-1 BDF fonts in which all characters above a threshold code value are stored unencoded. This is often desirable because the Xlib API and X11 protocol data structures used for representing font metric information are extremely inefficient when handling sparsely populated fonts.

Options

--help

prints usage message and exits.

--version

prints version information and exits.

Examples

The command

bdftruncate 0x3200 < 6x13.bdf > 6x13t.bdf

will generate the file 6x13t.bdf in which all glyphs with codes >= 0x3200 will only be stored unencoded (i.e., they are encoded at codepoint -1).

Releases

11 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0–5.0
  2. 6.0
  3. 7–8
  4. 9–12
  5. 13
  6. Arch

--help since Arch Linux 2026-11-01; --version since Arch Linux 2026-11-01.

Author

bdftruncate was written by Markus Kuhn.

Branden Robinson wrote this manual page, originally for the Debian Project.

From xorg-font-util 1.4.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.