Skip to main content

Module pixel_font

Module pixel_font 

Source
Expand description

Pixel font data for built-in 8x8 bitmap font (ASCII 32-126).

Functionsยง

get_font_bits
Get the 8x8 bitmap data for a character. Returns None if the character is not in the printable ASCII range (32-126).
rasterize_glyph
Rasterize a glyph into pixel data. Returns the width, height, and pixel data (RGBA).