[PR #15343] AtlasEngine: Clip box glyphs to their cells #30606

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

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

State: closed
Merged: Yes


Overhangs for box glyphs can produce unsightly effects, where the
antialiased edges of horizontal and vertical lines overlap between
neighboring glyphs and produce "boldened" intersections.
This avoids the issue in most cases by simply clipping the glyph to the
size of a single cell. The downside is that it fails to work well for
custom line heights, etc.

Validation Steps Performed

  • With Cascadia Code, printing "`u{2593}`n`u{2593}" in pwsh
    doesn't produce a brightened overlap anymore
  • "`e#3`u{2502}`n`e#4`u{2502}" produces a fat vertical line
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15343 **State:** closed **Merged:** Yes --- Overhangs for box glyphs can produce unsightly effects, where the antialiased edges of horizontal and vertical lines overlap between neighboring glyphs and produce "boldened" intersections. This avoids the issue in most cases by simply clipping the glyph to the size of a single cell. The downside is that it fails to work well for custom line heights, etc. ## Validation Steps Performed * With Cascadia Code, printing ``"`u{2593}`n`u{2593}"`` in pwsh doesn't produce a brightened overlap anymore ✅ * ``"`e#3`u{2502}`n`e#4`u{2502}"`` produces a fat vertical line ✅
claunia added the pull-request label 2026-01-31 09:41:49 +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#30606