Skip to content

Add more support for small fonts in screen resolution determination#10480

Merged
thebentern merged 1 commit into
masterfrom
fix-t096-display
May 15, 2026
Merged

Add more support for small fonts in screen resolution determination#10480
thebentern merged 1 commit into
masterfrom
fix-t096-display

Conversation

@thebentern

Copy link
Copy Markdown
Contributor

Fixes T096 display

@github-actions github-actions Bot added needs-review Needs human review hardware-support Hardware related: new devices or modules, problems specific to hardware labels May 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts how the UI classifies certain small/odd-aspect displays (specifically the Heltec Mesh Node T096) so that devices built with DISPLAY_FORCE_SMALL_FONTS don’t get treated as High resolution purely due to pixel width, which can lead to UI layout choices that don’t match the forced-small-font rendering.

Changes:

  • Add a DISPLAY_FORCE_SMALL_FONTS-guarded resolution override: screens up to 160x80 are classified as ScreenResolution::Low.
  • Preserve existing resolution rules for UltraLow OLEDs, standard OLEDs, and larger high-res displays.

@Xaositek Xaositek added 2.8 and removed needs-review Needs human review labels May 15, 2026
@thebentern thebentern removed the 2.8 label May 15, 2026
@thebentern thebentern merged commit 1c05633 into master May 15, 2026
89 of 91 checks passed
@thebentern thebentern deleted the fix-t096-display branch May 15, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hardware-support Hardware related: new devices or modules, problems specific to hardware

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants