Font formats
PSF2 header and storage
Build a PSF2 header and calculate the glyph bitmap storage it describes.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Each row uses ceil(width / 8) bytes. Multiply by height and glyph count, then add the 32-byte PSF2 header.
256 glyphs at 8×16 pixels need 4096 bitmap bytes plus 32 header bytes = 4128.
Limits
The download contains header bytes only. Glyph bitmaps must be supplied separately; a flagged Unicode table has variable size and is excluded from the storage total.