ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
2k stars 638 forks source link

Fonts been changes, but compile error: old font requestet #219

Closed RAJensen closed 5 years ago

RAJensen commented 6 years ago

Hello.

I've got a problem after changing fonts. I've removed all ArialMT_plain fonts and used Open Sans regular(10, 12, 14 16). But now the compiler create error: H:\Arduino\My Sketches\libraries\esp8266-oled-ssd1306\src/OLEDDisplay.h:281:44: error: 'ArialMT_Plain_10' was not declared in this scope

When i'm looking in OLEDDisplay i can't see the a call for ArialMT_Plain_10. So do anyone know where that font has been hardcoded?

In advance thank you.

ricki-z commented 5 years ago

This font is hardcoded in the mentioned file: OLEDDisplay.h, line 281

RAJensen commented 5 years ago

Thank You. I must have missed, when looking through the code. :-)