-
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
Box drawing characters contain gaps when viewed in Windows Terminal #14654
Comments
Pretty sure this is #7158 ............... Hmm. Maybe I'm not so sure about this. I know that line drawing still isn't perfect in the Atlas engine, but I thought it was fine in the DX engine. Since you're on 1.15, I can be sure this is a DX bug, since atlas isn't on that build. Previously:
It's like it's only the top corners though... the rest all seem fine. I wonder if this is a Cascadia Mono issue... |
@zadjii-msft Doesn't seem confined to the corners after all. Here's a new repro using the text characters from the window above.
DX yields Atlas yields |
Going to /dup this to #14098 and consolidate the two. I know that one is talking about the AtlasEngine, but it's all around the same area anyways. |
/dup #14098 |
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! |
@carlos-zamora Sounds good. My only concern is that the linked issue does not track the regression in the production engine and that experimental engine work could get deprioritized. |
Ah, interesting. In which version of Terminal did this work? The production engine in Terminal has always been DX, whereas in the vintage console host it's (always) been GDI. We've been struggling against issues like this one for a while, admittedly, so I have lost track of whether this case used to work with the DX engine. |
Here you go. v1.9.1445.0...v1.9.1942.0 |
Seems to be isolated to Cascadia family font update that occurred in a7f2a8b. Contrary to what the commit msg says, the Cascadia Mono font was upgraded from 2102.025 to 2106.017. Seems to still repro in 2111.01 as well. |
Ooh, good observation. We might want to bring this up on the Cascadia Code repo then |
@riverar, thanks for the big dig on this :) |
Mostly not experimental anymore starting with 1.18. 😅 It still has a small number of bugs and imperfections, but the intended functionality at least is probably pretty solid now. Our plan is to quickly but gradually make it the default text renderer in the upcoming versions. |
Hey, I came across this issue today using the latest experimental terminal but with another font - in my case, IntelOne Mono. These are screenshots of a Neovim floating window which uses these border characters. In Alacritty and WezTerm, they render as one border, but in Windows terminal there are gaps. I am not sure if this is font-specific issue, but I thought I would raise it, given that other terminals on Windows seem to deal with this particular font OK. |
Thanks for the report! Just to confirm, you're using Windows Terminal 1.18 with the "New rendering engine" enabled in settings->rendering? |
@jackfranklin That's because those two terminals don't actually draw those glyphs from the font at all. They ship with their own built-in box drawing glyphs that are always pixel perfect. We intend to do the same too (#5897). Unfortunately, while I really want that feature, I personally won't have time to do this in the near-term (unless more people are suddenly interested in this of course; if anyone reads this and wants this as well: contributions are 1000% welcome 🙂). |
(Almost the default? Is there a way we can make it even more the-default?) |
@DHowett I was trying to articulate that non-preview still allows for non-Atlas usage 😅. |
Windows Terminal version
1.15.3466.0
Windows build number
22000.739
Other Software
No response
Steps to reproduce
repro.zip
repro.zip
to a temporary locationtarget/debug/app.exe
in a Terminal windowAlternative, you can compile from the included sources.
See also: gyscos/cursive#709
Expected Behavior
Unbroken box drawing characters.
Figure 1 - Screenshot of expected appearance
Actual Behavior
Figure 2 - Example showing gaps (Cascadia Mono font family, default)
The text was updated successfully, but these errors were encountered: