Bodmer / TFT_ILI9341

A fast Arduino IDE compatible graphics and fonts library including a driver for the ILI9341 based TFT displays.
112 stars 33 forks source link

Need new sign for Font7 #15

Closed P123GT closed 6 years ago

P123GT commented 6 years ago

Hi, I need the "-" (2D) sign at the Font7srle. I have seen it at the lib for the actual eSPI and simply added the code // Make - sign look like a segment PROGMEM const unsigned char chr_f7s_2D[] = { 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x27, 0x8E, 0x0E, 0x92, 0x0A, 0x96, 0x09, 0x94, 0x0C, 0x90, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x47 }; from there to the Font7srle.c of the TFT_ILI9341 but it still doesn't work. Is there something else to change or could you do that?

René

Bodmer commented 6 years ago

Use the complete font file from here:

https://github.com/Bodmer/TFT_eSPI/tree/master/Fonts

That one has the minus sign added, and the pointers to the new character in the tables.

P123GT commented 6 years ago

Great, thanks!