57 Font(uint8_t width, uint8_t height,
58 uint8_t first, uint8_t last,
59 const uint8_t* bitmap,
60 uint8_t compression_type = 0,
61 uint8_t spacing = 1, uint8_t line_spacing = 1) :
65 LINE_SPACING(line_spacing),
80 __attribute__((always_inline))
82 return (c >= FIRST && c <= LAST);
94 virtual void draw(
Canvas* canvas,
char c, uint16_t x, uint16_t y,
Glyph(Font *font, char c= ' ')
Font(uint8_t width, uint8_t height, uint8_t first, uint8_t last, const uint8_t *bitmap, uint8_t compression_type=0, uint8_t spacing=1, uint8_t line_spacing=1)
virtual void draw(Canvas *canvas, char c, uint16_t x, uint16_t y, uint8_t scale)
const uint8_t m_compression_type