BuiltinFont – A font built into CircuitPython

A font built into CircuitPython.

class fontio.BuiltinFont

Creation not supported. Available fonts are defined when CircuitPython is built. See the Adafruit_CircuitPython_Bitmap_Font library for dynamically loaded fonts.

bitmap

Bitmap containing all font glyphs starting with ASCII and followed by unicode. Use get_glyph in most cases. This is useful for use with displayio.TileGrid and terminalio.Terminal.

get_bounding_box()

Returns the maximum bounds of all glyphs in the font in a tuple of two values: width, height.

get_glyph(codepoint)

Returns a fontio.Glyph for the given codepoint or None if no glyph is available.