fonttosfnt
TLDR
Convert BDF to sfnt
SYNOPSIS
fonttosfnt [options] input-files...
DESCRIPTION
fonttosfnt converts bitmap fonts (BDF, PCF) to SFNT format (TrueType/OpenType with bitmap data). It preserves bitmap glyphs while providing modern font file format.
The tool embeds bitmap strikes in SFNT wrappers, enabling use of legacy bitmap fonts in systems expecting modern font formats. Multiple input fonts can be merged.
fonttosfnt bridges classic X11 bitmap fonts with contemporary font infrastructure.
PARAMETERS
INPUT-FILES
BDF or PCF font files.-o FILE
Output file name.-v
Verbose output.-g N
Gamma correction value.-m
Merge glyphs into single font.--help
Display help information.
CAVEATS
Output remains bitmap, not vector. Limited font metadata support. Best for specific sizes.
HISTORY
fonttosfnt is part of the X.Org font utilities, providing conversion between traditional X11 bitmap formats and modern SFNT containers for compatibility with newer systems.
SEE ALSO
bdftopcf(1), mkfontscale(1), fontforge(1)


