BDFTOBSDH(1)

NAME
bdftobsdh - convert a bdf font to a .h file for OpenBSD or NetBSD

SYNOPSIS
bdftobsdh BSDFLAVOR BDFFILE

DESCRIPTION
Bdftobsdh converts a bitmap font in bdf format to the .h format used by OpenBSD (if BSDFLAVOR equals "-openbsd") or NetBSD (if BSDFLAVOR equals "-netbsd" and prints the result to standard output.

LIMITATIONS
Bdftobsdh assumes that all bitmaps in the bdf file are padded to the full width and height of the font. This holds for all bdf files in the ttyp0 distribution, but it does not hold for arbitrary bdf files. If the bitmaps are not padded, the conversion will fail.

COPYRIGHT
Copyright © 2020-2025 Uwe Waldmann.

Bdftobsdh may be freely used, copied, or modified under the terms of the MIT license.