From 1c05633fcdd91b2d5688930f2cd7153108c7d8c6 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Fri, 15 May 2026 05:59:15 -0500 Subject: [PATCH] Add more support for small fonts in screen resolution determination (#10480) --- src/graphics/SharedUIDisplay.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/graphics/SharedUIDisplay.cpp b/src/graphics/SharedUIDisplay.cpp index ec50654ae..032b14dfa 100644 --- a/src/graphics/SharedUIDisplay.cpp +++ b/src/graphics/SharedUIDisplay.cpp @@ -27,6 +27,12 @@ ScreenResolution determineScreenResolution(int16_t screenheight, int16_t screenw return ScreenResolution::UltraLow; } +#ifdef DISPLAY_FORCE_SMALL_FONTS + if (screenwidth <= 160 && screenheight <= 80) { + return ScreenResolution::Low; + } +#endif + // Standard OLED screens if (screenwidth > 128 && screenheight <= 64) { return ScreenResolution::Low;