hex2bdf(1)

hex2bdf1

Convert a gnu unifont .hex file into a bdf font

Usage

hex2bdf [options] < input-font.hex > output-font.bdf

Overview

hex2bdf reads a sorted GNU Unifont .hex file (sorted with the Unix sort utility) from STDIN and writes a BDF version of the font to STDOUT.

Options

-f "font-name"

Specify the target font name. If omitted, the default font name "Unifont" is assigned.

-v "font-version"

Specify the target font version. If omitted, the default version "1.0" is assigned.

-c "font-copyright"

Specify the target font copyright information. The default is the null string.

-r pixel-rows

Specify how many pixel rows tall a glyph is. The default is the traditional Unifont 16 rows of pixels. This is an addition to support unihex2png(1) and unipng2hex(1), which allow designing glyphs that are 16, 24, or 32 pixel rows tall.

Examples

Sample usage:

hex2bdf -f "Unifont" -c "(C) 2013..." unifont.hex > unifont.bdf

Files

*.hex GNU Unifont font files

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0–7
  2. 8–9
  3. 10
  4. 11
  5. 12
  6. 13

-c since Debian 8 (Jessie); -f since Debian 8 (Jessie); -r since Debian 8 (Jessie); -v since Debian 8 (Jessie).

Author

hex2bdf was written by Roman Czyborra.

License

hex2bdf is Copyright © 1998 Roman Czyborra.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Bugs

No known bugs exist. Support for glyph heights other than 16 pixels is brand new and has not been extensively tested.

From unifont-bin 1:15.1.01-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.