0 Members and 1 Guest are viewing this topic.
I've reworked an Adafruit fork for the ILI9341, which can use truetype fonts on STM32. It's plain C code, no arduino-like mess.If you you're interested, I can share you the code
#define pgm_read_byte(addr) (*(const unsigned char *)(addr))#define pgm_read_word(addr) (*(const unsigned long *)(addr))#define pgm_read_pointer(addr) ((const unsigned long *)pgm_read_word(addr))uint8_t w = pgm_read_byte(&glyph->width),