Skip to content

Fix boot screen rendering for 0/90/180/270 degree display rotation#45

Open
davelee98 wants to merge 3 commits into
OpenDisplay:mainfrom
davelee98:main
Open

Fix boot screen rendering for 0/90/180/270 degree display rotation#45
davelee98 wants to merge 3 commits into
OpenDisplay:mainfrom
davelee98:main

Conversation

@davelee98

@davelee98 davelee98 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds OpenDisplay logo to the boot screen rendered from logo_bitmap.h
  • Increases max text scale from 2 to 3
  • Removes vertical centering from the text block for better layout
  • Conditionally compiles logo support — if logo_bitmap.h is missing, the boot logo is disabled at compile time
  • added code to render boot screen correctly under various rotation angles.

New files

  • src/logo_bitmap.h — XBM-style bitmap of the OpenDisplay logo
  • tools/convert_logo.py — helper script to regenerate the bitmap from an SVG
  • tools/od_logo.svg — source SVG for the logo

NOTE: od_logo.svg was manually created from the logo svg -- recolored all to black and trimmed canvas to fit
Also need to run convert_logo.py if you change the logo. it creates 3 bitmaps in logo_bitmap.h

Test plan

  • Build firmware with logo_bitmap.h present and confirm logo appears on boot screen
  • Build firmware without logo_bitmap.h and confirm it compiles cleanly with logo disabled
  • Verify boot screen renders correctly under 0°, 90°, 180°, and 270° rotation
  • Check text scale-up to 3 renders without clipping

🤖 Generated with Claude Code

…oper rendering of boot screen under 0/90/180/270 degree rotation. tested on seeed E1001
@davelee98 davelee98 requested a review from jonasniesner as a code owner June 22, 2026 18:18
… 2. removed vertical centering from text block. if logo_bitmap.h is missing, the boot logo is disabled by the compiler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant