Glyph – Storage of glyph info

class fontio.Glyph(bitmap, tile_index, width, height, dx, dy, shift_x, shift_y)

Named tuple used to capture a single glyph and its attributes.

Parameters:
  • bitmap (displayio.Bitmap) – the bitmap including the glyph
  • tile_index (int) – the tile index within the bitmap
  • width (int) – the width of the glyph’s bitmap
  • height (int) – the height of the glyph’s bitmap
  • dx (int) – x adjustment to the bitmap’s position
  • dy (int) – y adjustment to the bitmap’s position
  • shift_x (int) – the x difference to the next glyph
  • shift_y (int) – the y difference to the next glyph