adafruit / Adafruit_SSD1306

Arduino library for SSD1306 monochrome 128x64 and 128x32 OLEDs
http://www.adafruit.com/category/63_98
Other
1.8k stars 981 forks source link

SetFont() always transparent background #135

Open vprheli opened 5 years ago

vprheli commented 5 years ago

Hello, if use some GFX font, then the background color for the text on the same position is transparent. pOLED->setTextColor(WHITE, BLACK); pOLED->setFont (&FreeSans12pt7b); pOLED->print ("12:35:56)"; next second writes over the "6" and do not clear black pixels. If I do not call SetFont(), it works even with bigger textSize.

ladyada commented 5 years ago

hiya thats a bug in GFX, if you can submit a PR to fix it would appreciate it :)