Expand description
PSF2 bitmap font loading and character rendering.
Authors: MarioS271
Structsยง
- Psf2
Font - A loaded and parsed PSF2 font, ready for rendering into a
BasicFramebuffer. - Psf2
Header ๐ - Parsed PSF2 file header. Only the fields needed for rendering are extracted.
Staticsยง
- BACKGROUND_
COLOR ๐ - Pixel color written for bits that are 0 in the glyph bitmap (background).
- DEFAULT_
FOREGROUND_ ๐COLOR - Pixel color used when the caller passes
Noneas the foreground color. - MAGIC_
NUMBER ๐ - Expected first four bytes of a valid PSF2 file.