1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00

Fix basle line for fonts

This commit is contained in:
Norbert Walter
2026-02-28 18:39:05 +00:00
parent 39c4e7fb32
commit ffa9c8ac83
+2
View File
@@ -122,6 +122,8 @@ public:
// No dedicated TFT PWM backlight pin configured on this board. // No dedicated TFT PWM backlight pin configured on this board.
// Keep backlight handling outside LovyanGFX to avoid LEDC init on invalid GPIO. // Keep backlight handling outside LovyanGFX to avoid LEDC init on invalid GPIO.
setPanel(&_panel_instance); setPanel(&_panel_instance);
// Match Adafruit GFX cursor semantics: y coordinate is text baseline.
setTextDatum(textdatum_t::baseline_left);
} }
// compatibility helpers -------------------------------------------------- // compatibility helpers --------------------------------------------------