/** * UTF-8 capable bitmap font * * Created on 2020/01/04. */ #ifndef GFX_FONT_H #define GFX_FONT_H #include "font.h" #include "utf8.h" #include typedef struct { uint8_t data[5]; } font5x_bitmap_t; typedef struct { uint8_t data[4]; } font4x_bitmap_t; typedef struct { uint8_t data[3]; } font3x_bitmap_t; /// Get font graphic for a character. /// /// The returned pointer is PROGMEM! const font5x_bitmap_t *font57_getsym(const struct Utf8Char *ch); const font4x_bitmap_t *font45_getsym(const struct Utf8Char *ch); const font3x_bitmap_t *font35_getsym(const struct Utf8Char *ch); #endif //GFX_FONT_H