Text between box drawing characters is rendered aliased (???) #9006

Open
opened 2026-01-31 01:43:31 +00:00 by claunia · 0 comments
Owner

Originally created by @DHowett on GitHub (Jun 13, 2020).

Originally assigned to: @miniksa on GitHub.

When I run this in PowerShell (7),

"`e[30;47m`u{2500} What `u{2500}`e[m"

the text comes out without antialiasing. It looks like it's being drawn with FillGeometry just like a box drawing glyph.

image

If I flip the colors, it comes out antialiased.

image

To verify my theory that What was becoming part of the box drawing run, I put together a debug tool that turns glyph runs into graphviz documents.

image

Unfortunately, it doesn't look like it's so simple.

Originally created by @DHowett on GitHub (Jun 13, 2020). Originally assigned to: @miniksa on GitHub. When I run this in PowerShell (7), ``` "`e[30;47m`u{2500} What `u{2500}`e[m" ``` the text comes out without antialiasing. It looks like it's being drawn with FillGeometry just like a box drawing glyph. ![image](https://user-images.githubusercontent.com/189190/84561566-4e18a800-ad02-11ea-89b8-fe4cc58127bb.png) If I flip the colors, it comes out antialiased. ![image](https://user-images.githubusercontent.com/189190/84561569-58d33d00-ad02-11ea-83c0-56b763950ae4.png) To verify my theory that `What` was becoming part of the box drawing run, I put together a debug tool that turns glyph runs into graphviz documents. ![image](https://user-images.githubusercontent.com/189190/84561756-ff6c0d80-ad03-11ea-8e76-447cafa1dc83.png) Unfortunately, it doesn't look like it's so simple.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9006