-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering of some escape codes are broken on some fonts #14877
Comments
FWIW it absolutely does require a restart of that tab, unfortunately. One of the few settings that can't hot-reload. Double checking these results with it both enabled and disabled might help point at the right root cause. I'm sure there's a dupe laying around that @lhecker can find. Probably one for each of the renderers 😅 |
I'm about to open a PR which improves the situation around such box drawing characters up to the point, where we draw to the best capabilities of the font you've chosen. If the font doesn't have proper box drawing characters, they'll look broken, because that's what the font tells us to do. This is for instance the case for MS Gothic, where the right border in For further improvements we'll have to wait for #5897. |
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: