/bitmapfont2otb

Convert a bitmap font in BDF, PCF, or SFD format to an OpenType Bitmap font using FontForge's API and bdfreader

Primary LanguagePythonApache License 2.0Apache-2.0

bitmapfont2otb v2.4.0

This tool converts a bitmap font in BDF, PCF, or SFD format, into an OTB (OpenType Bitmap) font.

New versions of HarfBuzz no longer support BDF, so this is necessary. However, existing scripts either only create outlines with squares, or only create bitmaps. This script does both: it creates fallback glyphs made of square outlines, but also adds a bitmap strike to the font.

Requirements