fontio¶
Core font related data structures
-
class
fontio.BuiltinFont¶ A font built into CircuitPython
-
bitmap:Any¶ Bitmap containing all font glyphs starting with ASCII and followed by unicode. Use
get_glyphin most cases. This is useful for use withdisplayio.TileGridandterminalio.Terminal.
-
get_bounding_box(self)¶ Returns the maximum bounds of all glyphs in the font in a tuple of two values: width, height.
-
get_glyph(self, codepoint: Any)¶ Returns a
fontio.Glyphfor the given codepoint or None if no glyph is available.
-