:mod:`fontio` ============= .. py:module:: fontio .. autoapi-nested-parse:: Core font related data structures .. py:class:: BuiltinFont A font built into CircuitPython .. attribute:: bitmap :annotation: :Any 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`. .. method:: get_bounding_box(self) Returns the maximum bounds of all glyphs in the font in a tuple of two values: width, height. .. method:: get_glyph(self, codepoint: Any) Returns a `fontio.Glyph` for the given codepoint or None if no glyph is available. .. py:class:: Glyph(bitmap: displayio.Bitmap, tile_index: int, width: int, height: int, dx: int, dy: int, shift_x: int, shift_y: int) Storage of glyph info