-
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
Add an option to toggle the width of ambiguous-width characters #153
Comments
Any updates on this issue? |
I was also pointed here when investigating a nerdfont icon cutoff case. ryanoasis/nerd-fonts#795 can we have the
|
Unless I've misread something, the character discussed in that nerd-fonts issue was |
I don't think we need be nerve tense on this use of code block here. Nerd fonts is also an open source project which favored by a lot of people like me to get our nerdy life a little better giving this context that it is an aggregation of other open source fonts like Mdi, awesomefonts etc. It is not a problem of who get entitled, but just with a positive hope that things could be moving in a convergent way. It is sad war day for the world. May the world peace as it deserves. |
Well, the glyphs have been placed in PUA in error several years ago when it seemed to not matter. There are efforts to move the glyphs to an appropriate region. This legacy is hard to tackle, though, with a user base that expects glyph codes to not change.
'Nerd Font' is not complaining. Often it is the user that uses the wrong 'flavor' of patched font that causes issues; with all the terminal applications behaving differently it is hard to determine if the patching itself is the problem or some setting, or ... Maybe you are familiar with Windows Terminals code? What I fail to find out, can the font supply some information here: Maybe you have a minute for some answers :-) Thank you. |
That's good to know. Thank you.
No, I don't think that would help you. First off that only applies to ambiguous width characters, so it wouldn't effect something like A standard terminal shouldn't be varying the width of a character based on the font, because terminal applications would then have no way of knowing how much space a string of text was going to take. For example, an application wouldn't be able predicate when text is going to wrap, or how much to move the cursor when editing. If you don't get widths right, lots of things will break. |
This bug-tracker is monitored by Windows Console development team and other technical types. We like detail!
If you have a feature request, please post to the UserVoice.
Please use this form and describe your issue, concisely but precisely, with as much detail as possible
Your Windows build number: (Type
ver
at a Windows Command Prompt)10.0.16299.371
What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
Some characters like ”■” and ”┌” has the same width as ASCII characters in latin fonts but double width in Japanese (and maybe some other languages) fonts. These characters are called ambiguous-weighted.
Other terminal emulator has the option to toggle the width of them but Windows Console doesn't.
EDIT: also see #16779
The text was updated successfully, but these errors were encountered: