If you're looking for something other than Playdate SDK's (discontinued) Font Tool.app
or Caps, then here are some candidates:
Complete Font to Image Solution
Bits'n'Picas
https://github.com/kreativekorp/bitsnpicas/tree/master/downloads
Superb font editor, cross-platform, written in Java. Supports many legacy font import/export formats. Playdate support since version 2.0, September 2022.
Font to Intermediary (BDF)
BDF = Bitmap Distribution Format, a simple text file with the font data in it.
FontForge
https://fontforge.org
Open-Source cross platform font editor. Supports bitmap creation, import of any of its supported formats, and export as BDF.
- Open TTF file
- Element > Bitmap Strikes Available... > (enter "pixel size"; the height of font in pixels)
- File > Generate Fonts... > Generate > OK
Shell
Tool to convert OTF/TTF to intermediate BDF.
otf2bdf
is part of freetype, so you'll need to install that (I usedbrew install freetype
).- eg.
otf2bdf -p 12 font.ttf -o font.bdf
- eg.
Font to Intermediary (TTF, Other)
Fontstruct
https://www.fontstruct.com
Web-based tool that allows easy pixelling of bitmap fonts with a well-proven workflow. Also features a gallery of open-source bitmap fonts. Downloads as TTF (and Glyphs format for your own fonts).
BitFontMaker
http://www.pentacom.jp/pentacom/bitfontmaker2/
Nice and easy, web-based TTF generation. Less feature rich than Fontstruct, but perhaps easier to jump in and use.
Intermediary to Image (BMP)
Shell
Tool to convert intermediate BDF into BMP.
bdf2bmp
is at GitHub - itouhiro/bdf2bmp: output all glyphs in a BDF font to a BMP image file and see here for a macOS build- eg.
bdf2bmp -s 0 font.bdf font-table-9-12.bmp
- eg.
Font2BDF
https://devforum.play.date/t/font-data-from-bdf/485
Note
Finally you'll need to use Font Tool.app
or Caps to load the resulting image and generate the .fnt file for use with Playdate SDK.
Others?
Does anybody else know of some other good bitmap font tools?