fix(v4-r8): improve touch and text accessibility

This commit is contained in:
Michael A. Cojocari
2026-09-18 16:44:12 -04:00
parent bf114b4618
commit eb4b71fb67
8 changed files with 108 additions and 30 deletions
+4 -5
View File
@@ -56,11 +56,10 @@
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 1
/* Larger Montserrat sizes for the large-screen boards' crisp "UI size" (Large/Huge) — render the
* UI bigger at native resolution instead of upscaling a low-res frame. Gated to the CAP_LARGE_SCREEN
* P4 boards (Tanmatsu + T-Display P4) so the flash-tighter S3 touch builds don't pay for fonts they
* never use. (device_caps.h isn't included here, so match on the board macros directly.) */
#if defined(HAS_TANMATSU) || defined(HAS_TDISPLAY_P4)
/* Larger Montserrat sizes for crisp UI/text-size presets at native resolution. The P4 boards scale
* text and geometry; V4-R8 uses the same fonts without geometry scaling. Other flash-tighter S3
* builds don't pay for fonts they never use. (Match board macros because device_caps.h isn't here.) */
#if defined(HAS_TANMATSU) || defined(HAS_TDISPLAY_P4) || defined(HELTEC_LORA_V4_R8)
#define LV_FONT_MONTSERRAT_18 1
#define LV_FONT_MONTSERRAT_20 1
#define LV_FONT_MONTSERRAT_24 1