-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Vertical joining of box drawing characters has gaps #3029
Comments
@tryptamic What font are you using? What does this look like in conhost (launch cmd.exe directly) with the same font selected? |
Some terminals, including VTE and Konsole draw the U+2500..257F (or even up to 259F) glyphs manually, rather than taking them from the font. This prevents such problems (and also avoids ugly looking antialiasing). I haven't seen any monospace font that would just look perfect on its own. Interestingly, independently from each other, both VTE and Konsole came up with the idea of defining the look of most of these codepoints as a 5x5 matrix (where how the given 5x5 grid is stretched to the character cell is not necessarily the same for thick lines vs. double lines). Update: Konsole recently changed not to use a 5x5 matrix but other means of drawing. |
I like the idea of having Terminal draw these itself; we've chatted about that internally and thought it was pretty clever. This is also related to #455. |
Consolas and here how it looks in in conhost: In terminal with Cascadia Code it gets even worse because horizontal joining is then broken as well and vertical gaps got even larger as you can see in the screenshot Why does it work in the old console without drawing it in a special way. Isn't it a simple issue of the wrong line height and in case of cascadia wrong glyphs? |
@tryptamic The legacy console and the Terminal use different renderers to display text. The Terminal's renderer is far more performant, but there are still many edge cases we need to work out, and this is one of them. I think in general this falls under the umbrella of /dup #455 so I'm gonna close as a dupe. |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Environment
Windows build number: Microsoft Windows [Version 10.0.18362.356]
Windows Terminal version (if applicable): 0.5.2681.0
Steps to reproduce
Run this litle command in the terminal using a cmd.exe tab to produce a little box:
Expected behavior
The box should have perfectly joined lines on all sides. Living in a monospaced environment where the box drawing characters are used to draw trees, boxes and other stuf perfect line joining is expected
Actual behavior
The lines of the box are not vertically joined
The text was updated successfully, but these errors were encountered: