[PR #16719] AtlasEngine: Improve dotted, dashed and curly underlines #30982

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

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

State: closed
Merged: Yes


This changeset makes 3 improvements:

  • Dotted lines now use a 2:1 ratio between gaps and dots (from 1:1).
    This makes the dots a lot easier to spot at small font sizes.
  • Dashed lines use a 1:2 ratio and a cells-size independent stride.
    By being cell-size independent it works more consistently with a
    wider variety of fonts with weird cell aspect ratios.
  • Curly lines are now cell-size independent as well and have a
    height that equals the double-underline size.
    This ensures that the curve isn't cut off anymore and just like
    with dashed lines, that it works under weird aspect ratios.

Closes #16712

Validation Steps Performed

This was tested using RenderingTests using Cascadia Mono, Consolas,
Courier New, Lucida Console and MS Gothic.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/16719 **State:** closed **Merged:** Yes --- This changeset makes 3 improvements: * Dotted lines now use a 2:1 ratio between gaps and dots (from 1:1). This makes the dots a lot easier to spot at small font sizes. * Dashed lines use a 1:2 ratio and a cells-size independent stride. By being cell-size independent it works more consistently with a wider variety of fonts with weird cell aspect ratios. * Curly lines are now cell-size independent as well and have a height that equals the double-underline size. This ensures that the curve isn't cut off anymore and just like with dashed lines, that it works under weird aspect ratios. Closes #16712 ## Validation Steps Performed This was tested using RenderingTests using Cascadia Mono, Consolas, Courier New, Lucida Console and MS Gothic.
claunia added the pull-request label 2026-01-31 09:44:19 +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#30982