Skip to content

pbkit: Fix rendering of + character - #794

Merged
mborgerson merged 1 commit into
XboxDev:masterfrom
abaire:fix_pbprint_plus_character
Oct 20, 2026
Merged

mborgerson merged 1 commit into
XboxDev:masterfrom
abaire:fix_pbprint_plus_character

Conversation

@abaire

@abaire abaire commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

At HEAD, pb_draw_text_screen's rendering of the + character drops the horizontal bar, effectively becoming :.

This change shifts the + character to be better aligned with other characters in the font and fixes the issue that was causing the horizontal bar to be dropped in the first place.

Note: technically we don't need to do both changes, each would fix it independently, but without the extra loop guard, glyphs that render against the end of the row would have the same issue.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused changes address the rendering defect, with row-pattern verification supporting correct behavior and no unresolved findings.

No open issues 🎉

What changed in this PR

Fixes + rendering in pbkit’s text renderer and preserves glyph strokes that reach the end of a row.

Changes:

  • Adjusts the + bitmap for better alignment.
  • Draws pending pixel runs after the row loop finishes.
File Description
lib/​pbkit/​pbkit_print.c Updates the + glyph and fixes end-of-row stroke rendering.

Review effort: Balanced

@mborgerson
mborgerson merged commit 119ab2f into XboxDev:master Oct 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants