You will need:
- A vector font file (TTF, OTF, whatever -- as long as FontForge supports it)
- FontForge
- BitsNPicas (which requires Java)
- Open your TTF (or whatever) in FontForge.
- Go to Element->Bitmap Strikes Available.
- In the 'Pixel Sizes' field, type the desired pixel size for your font (e.g. 19), then click OK
- Go File->Generate Fonts.
- We need a BDF file, so select "No Outline Font" on the left, and "BDF" on the right. The number below "BDF" should be the pixel size you specified earlier.
- Close FontForge (no need to save).
- Run
java -jar BitsNPicas.jar convertbitmap -f ttf -o SOMENAME.ttf SOMENAME.bdf
- SOMENAME.ttf is now your pixelated font file. TTF isn't the only format BitsNPicas supports, but the other formats are mostly weird ones (no WOFF or OTF).
- I'm sure there's an easy way to generate WOFFs from TTFs locally, but I am lazy so cloudconvert.com does the trick.