HEX2BDF(1) General Commands Manual HEX2BDF(1)

# [NAME](#NAME)

hex2bdf - Convert a GNU Unifont .hex file into a BDF font

# [SYNOPSIS](#SYNOPSIS)

**hex2bdf** \[*options*] &lt; *input-font.hex* &gt; *output-font.bdf*

# [DESCRIPTION](#DESCRIPTION)

**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](#OPTIONS)

[**-f** "font-name"](#f)

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

[**-v** "font-version"](#v)

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

[**-c** "font-copyright"](#c)

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

[**-r** *pixel-rows*](#r)

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)**](/man/enterprise-packages/font-unifont/unihex2png.1) and **[unipng2hex(1)](/man/enterprise-packages/font-unifont/unipng2hex.1),** which allow designing glyphs that are 16, 24, or 32 pixel rows tall.

# [EXAMPLE](#EXAMPLE)

Sample usage:

hex2bdf -f "Unifont" -c "(C) 2013..." unifont.hex &gt; unifont.bdf

# [FILES](#FILES)

\*.hex GNU Unifont font files

# [SEE ALSO](#SEE_ALSO)

[**bdfimplode**(1)](/man/enterprise-packages/font-unifont/bdfimplode.1), [**hex2otf**(1)](/man/enterprise-packages/font-unifont/hex2otf.1), [**hex2sfd**(1)](/man/enterprise-packages/font-unifont/hex2sfd.1), [**hexbraille**(1)](/man/enterprise-packages/font-unifont/hexbraille.1), [**hexdraw**(1)](/man/enterprise-packages/font-unifont/hexdraw.1), [**hexkinya**(1)](/man/enterprise-packages/font-unifont/hexkinya.1), [**hexmerge**(1)](/man/enterprise-packages/font-unifont/hexmerge.1), [**johab2syllables**(1)](/man/enterprise-packages/font-unifont/johab2syllables.1), [**johab2ucs2**(1)](/man/enterprise-packages/font-unifont/johab2ucs2.1), [**unibdf2hex**(1)](/man/enterprise-packages/font-unifont/unibdf2hex.1), [**unibmp2hex**(1)](/man/enterprise-packages/font-unifont/unibmp2hex.1), [**unibmpbump**(1)](/man/enterprise-packages/font-unifont/unibmpbump.1), [**unicoverage**(1)](/man/enterprise-packages/font-unifont/unicoverage.1), [**unidup**(1)](/man/enterprise-packages/font-unifont/unidup.1), [**unifont**(5)](/man/enterprise-packages/font-unifont/unifont.5), [**unifont-johab631**(5)](/man/enterprise-packages/font-unifont/unifont-johab631.5), [**unifont-viewer**(1)](/man/enterprise-packages/font-unifont/unifont-viewer.1), [**unifont1per**(1)](/man/enterprise-packages/font-unifont/unifont1per.1), [**unifontchojung**(1)](/man/enterprise-packages/font-unifont/unifontchojung.1), [**unifontksx**(1)](/man/enterprise-packages/font-unifont/unifontksx.1), [**unifontpic**(1)](/man/enterprise-packages/font-unifont/unifontpic.1), [**unigen-hangul**(1)](/man/enterprise-packages/font-unifont/unigen-hangul.1), [**unigencircles**(1)](/man/enterprise-packages/font-unifont/unigencircles.1), [**unigenwidth**(1)](/man/enterprise-packages/font-unifont/unigenwidth.1), [**unihex2bmp**(1)](/man/enterprise-packages/font-unifont/unihex2bmp.1), [**unihex2png**(1)](/man/enterprise-packages/font-unifont/unihex2png.1), [**unihexfill**(1)](/man/enterprise-packages/font-unifont/unihexfill.1), [**unihexgen**(1)](/man/enterprise-packages/font-unifont/unihexgen.1), [**unihexpose**(1)](/man/enterprise-packages/font-unifont/unihexpose.1), [**unihexrotate**(1)](/man/enterprise-packages/font-unifont/unihexrotate.1), [**unijohab2html**(1)](/man/enterprise-packages/font-unifont/unijohab2html.1), [**unipagecount**(1)](/man/enterprise-packages/font-unifont/unipagecount.1), [**unipng2hex**(1)](/man/enterprise-packages/font-unifont/unipng2hex.1)

# [AUTHOR](#AUTHOR)

**hex2bdf** was written by Roman Czyborra.

# [LICENSE](#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](#BUGS)

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

2008 Jul 06

---

Document: hex2bdf(1) from font-unifont 17.0.04-r2 (Chainguard OS)
Source: https://unifoundry.com/pub/unifont/unifont-17.0.04/unifont-17.0.04.tar.gz
