[PR #15403] AtlasEngine: Fix Present() of out of bounds glyphs #30627

Open
opened 2026-01-31 09:41:56 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15403

State: closed
Merged: Yes


til::rect's truthiness check (= rect is valid) returns false for
any rects that have negative coordinates. This makes sense for buffer
handling, but breaks AtlasEngine, where glyph coordinates can go out
of bounds and it's entirely valid for that to happen.

Closes #15416

Validation Steps Performed

  • Use MesloLGM NF and print NF glyphs in the first row
  • Text rendering, selection, etc., still works
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15403 **State:** closed **Merged:** Yes --- `til::rect`'s truthiness check (= rect is valid) returns `false` for any rects that have negative coordinates. This makes sense for buffer handling, but breaks AtlasEngine, where glyph coordinates can go out of bounds and it's entirely valid for that to happen. Closes #15416 ## Validation Steps Performed * Use MesloLGM NF and print NF glyphs in the first row * Text rendering, selection, etc., still works ✅
claunia added the pull-request label 2026-01-31 09:41:56 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30627