ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.16k stars 209 forks source link

ESP 32 Font Problem #174

Closed feendrache closed 4 years ago

feendrache commented 4 years ago

Describe the bug

Device hardware

Please confirm whether:

Expected behavior

Well i wanted to use other fonts.. took me some time to realise that this was the problem

Initialization messages

no errors

ImpulseAdventure commented 4 years ago

Hi @feendrache --

Can you confirm an example of a font that you are trying to use? (ie. is it included within the TFT_eSPI/Fonts/GFXFF directory?)

If so, can you confirm that the GUIslice example ex04 works using the TFT_eSPI freefonts? (we would like to test it first without the Builder)

thanks

feendrache commented 4 years ago

Yeah that'S working just fine

ImpulseAdventure commented 4 years ago

If you are seeing ex04 work fine with TFT_eSPI custom fonts then the problem is likely that the Builder is not set to TFT_eSPI output mode. The TFT_eSPI display library handles fonts differently from other libraries, so the Builder needs to be in a special mode to generate the correct font initialization.

Please check the setting in the Builder's Edit -> Options -> Target Platform; it should be set to arduino TFT_eSPI. Does this help?

image

I'm not sure if we documented this visibly so perhaps a wiki documentation update might be necessary.

ImpulseAdventure commented 4 years ago

Closing as I expect that the above Builder option will address the original issue.