| @@ -271,7 +271,7 @@ void testdrawstyles(void) { | |||
| uint16_t w = 0, h = 0; | |||
| for (int i = 0; i <= 99; i++) { | |||
| Display.clearDisplay(); | |||
| Display.setFont(&titillium_web_regular24pt7b); | |||
| Display.setFont(&titillium_web_semibold30pt7b); | |||
| Display.setTextSize(1); // Normal 1:1 pixel scale | |||
| Display.setTextColor(SSD1306_WHITE); // Draw white text | |||
| sprintf(decimals, "%02d", i); | |||
| @@ -284,9 +284,9 @@ void testdrawstyles(void) { | |||
| Display.setCursor((SCREEN_WIDTH / 2 - 1) - w, SCREEN_HEIGHT / 2 + h / 2); | |||
| Display.print("01."); | |||
| } else { | |||
| calculateWH("22.", w, h); | |||
| calculateWH("77.", w, h); | |||
| Display.setCursor((SCREEN_WIDTH / 2 - 1) - w, SCREEN_HEIGHT / 2 + h / 2); | |||
| Display.print("22."); | |||
| Display.print("77."); | |||
| } | |||
| Display.println(decimals); | |||
| Display.display(); | |||
| @@ -2499,7 +2499,7 @@ const uint8_t titillium_web_semibold30pt7bBitmaps[] PROGMEM = { | |||
| 0x80, 0x07, 0xC0, 0x01, 0xF0, 0x00, 0xF8, 0x00, 0x3E, 0x00, 0x1F, 0x00, | |||
| 0x07, 0xC0, 0x03, 0xE0, 0x00, 0xF8, 0x00, 0x3E, 0x00, 0x1F, 0x00, 0x07, | |||
| 0xC0, 0x03, 0xE0, 0x00, 0xF8, 0x00, 0x7C, 0x00, 0x1F, 0x00, 0x0F, 0x80, | |||
| 0x03, 0xE0, 0x01, 0xF0, 0x00, 0x3C, 0x00, 0x01, 0xFC, 0x00, 0x3F, 0xFE, | |||
| 0x03, 0xE0, 0x01, 0xF0, 0x00, 0x7C, 0x00, 0x01, 0xFC, 0x00, 0x3F, 0xFE, | |||
| 0x01, 0xFF, 0xFE, 0x0F, 0xFF, 0xFC, 0x7F, 0xFF, 0xF9, 0xF8, 0x07, 0xE7, | |||
| 0xC0, 0x0F, 0x9F, 0x00, 0x3E, 0x7C, 0x00, 0xF9, 0xF0, 0x03, 0xE7, 0xC0, | |||
| 0x0F, 0x8F, 0x80, 0x7E, 0x3F, 0xFF, 0xF0, 0x7F, 0xFF, 0x80, 0xFF, 0xFC, | |||
| @@ -2,7 +2,7 @@ | |||
| //This is a automatic generated file | |||
| //Please do not modify this file | |||
| //If you touch this file your change will be overwritten during the next build | |||
| //This file has been generated on 2022-01-23 15:58:24 | |||
| //This file has been generated on 2022-01-23 21:46:12 | |||
| #include "Arduino.h" | |||
| #include <Arduino.h> | |||