adafruit / Adafruit-ST7735-Library

This is a library for the Adafruit 1.8" SPI display http://www.adafruit.com/products/358 and http://www.adafruit.com/products/618
https://learn.adafruit.com/1-8-tft-display
550 stars 305 forks source link

with custome fonts the background of the text doesn't clear #116

Closed hamed-ta closed 4 years ago

hamed-ta commented 4 years ago

by using custome fonts in Adafruit_ST7789 library the background of the text doesn't clear even by using

tft.setTextColor(ST77XX_WHITE,ST77XX_BLACK);

Micro is Atmega 644

01 02

WhatsApp Image 2020-03-21 at 22 43 20

PaintYourDragon commented 4 years ago

This is on purpose and by design. It’s documented in the GFX guide: https://learn.adafruit.com/adafruit-gfx-graphics-library/using-fonts#using-gfx-fonts-in-arduino-sketches-5-6

hamed-ta commented 4 years ago

so it's better to add the needed code to the library to replace the background of the custom fonts as well as the classic.