Rendering of some escape codes are broken on some fonts #14877
Labels
Area-AtlasEngine
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-2
A description (P2)
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.16.10261.0, also main branch
Windows build number
10.0.19044.2364
Other Software
Most TUI programs
Steps to reproduce
The screenshot below uses
make menuconfig
on Linux kernel source and toolaptitude
, but many TUI applications show this behavior as well. Try using some with specific fonts and you will spot it.Expected Behavior
Might be the most ambiguous issue title I've written in a while, but I'm not quite sure what's causing it. I'll explain below.
(Warning, lots of screenshots)
When using common monospaced fonts, the rendering is fine:
Consolas:
Lucida Console:
and a third-party one:
MxPlus IBM VGA font:
Actual Behavior
However, when using some fonts (didn't find out the specifics here), the rendering is borked. Notice that the checkboxes are not aligned anymore, some characters are missing, and the window borders are broken:
PC-98 font:
That's a third-party font, however some standard fonts are showing this as well:
SimHei:
MS Gothic:
Tried with AtlasEngine both on and off and nothing changed (it didn't need a restart right?).
The text was updated successfully, but these errors were encountered: