1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 15:03:07 +01:00

Reorganized fonts and changed Ubuntu-font to 8bit version

This commit is contained in:
2025-07-08 15:19:07 +02:00
parent ae7130b86c
commit fa4b563ff0
50 changed files with 5506 additions and 3241 deletions

View File

@@ -112,12 +112,12 @@ class PageBME280 : public Page
// ############### Value 1 ################
// Show name
getdisplay().setFont(&Ubuntu_Bold20pt7b);
getdisplay().setFont(&Ubuntu_Bold20pt8b);
getdisplay().setCursor(20, 55);
getdisplay().print(name1); // Page name
// Show unit
getdisplay().setFont(&Ubuntu_Bold12pt7b);
getdisplay().setFont(&Ubuntu_Bold12pt8b);
getdisplay().setCursor(20, 90);
getdisplay().print(unit1); // Unit
@@ -136,12 +136,12 @@ class PageBME280 : public Page
// ############### Value 2 ################
// Show name
getdisplay().setFont(&Ubuntu_Bold20pt7b);
getdisplay().setFont(&Ubuntu_Bold20pt8b);
getdisplay().setCursor(20, 145);
getdisplay().print(name2); // Page name
// Show unit
getdisplay().setFont(&Ubuntu_Bold12pt7b);
getdisplay().setFont(&Ubuntu_Bold12pt8b);
getdisplay().setCursor(20, 180);
getdisplay().print(unit2); // Unit
@@ -160,12 +160,12 @@ class PageBME280 : public Page
// ############### Value 3 ################
// Show name
getdisplay().setFont(&Ubuntu_Bold20pt7b);
getdisplay().setFont(&Ubuntu_Bold20pt8b);
getdisplay().setCursor(20, 235);
getdisplay().print(name3); // Page name
// Show unit
getdisplay().setFont(&Ubuntu_Bold12pt7b);
getdisplay().setFont(&Ubuntu_Bold12pt8b);
getdisplay().setCursor(20, 270);
getdisplay().print(unit3); // Unit