Comments (8)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- AtlasEngine rendering wide Nerd Font glyphs incorrectly (#14022), similarity score: 0.84
- 1.16 Preview: Incorrect Nerd Font rendering: double-sized characters are reduced (#13988), similarity score: 0.81
- Some glyphs in Nerd Fonts are rendered with wrong widths (#11769), similarity score: 0.78
- Bad rendering of icons (nerd fonts) with atlas rendering (#14074), similarity score: 0.77
- Incorrect full-width char rendering (#17016), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from terminal.
Huh, weird. I thought those triangle glyphs were narrow (1 cell wide)? I just installed the latest version of Ubuntu Mono NF (version 0.80) and U+E0B8, U+E0BA, U+E0BC, and U+E0BE are all narrow for me.
What Ubuntu Mono font are you using? NF (UbuntuMonoNerdFont-Regular.ttf
), NFM (UbuntuMonoNerdFontMono-Regular.ttf
), or NFP (UbuntuMonoNerdFontPropo-Regular.ttf
)?
Can you figure out what codepoints your status line uses, or otherwise give me a printf
command (or similar) that allows me to reproduce the issue locally?
from terminal.
I'm using an earlier verion of Ubuntu Mono NF which i downloaded from https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/UbuntuMono/Regular/UbuntuMonoNerdFont-Regular.ttf
This version has those characters(U+E0B8, U+E0BA, U+E0BC, and U+E0BE) to be double wide.
Sometime down the line (around year back i believe), they (ryanoasis/nerd-fonts) updated those characters to be narrow. So the latest version still have them as narrow.
I kept the older version of font file. Here it is. If you want to try this, you may want to remove the already installed one.
UbuntuMono Nerd Font.zip
from terminal.
There's a couple ways I could see us taking this:
- This is by-design, the PL glyphs are supposed to be single-wide now, and the terminal is correctly rendering them as such. Users can always opt-out of the Terminal doing this with
"font.builtinGlyphs": false
... - ... though, with
"font.builtinGlyphs": false
, we still should probably render these a little better - alternatively, I'm not sure if we can check the font ahead of time, and manually scale our PL drawing to the same width the font expects them to be
from terminal.
Users can always opt-out of the Terminal doing this with
"font.builtinGlyphs": false
...
FYI you can also find the setting here:
I think we should consider closing this as "by design" for the following reasons:
- Newer version of NF have these glyphs as narrow.
- Adjusting the width of builtin glyphs to match the font would break their biggest strength of being fully "gap-less".
- Adjusting the size of font glyphs in the past has repeatedly proven itself to be very error prone. Adjusting the vertical/horizontal alignment is less bad, but still somewhat error prone. It should be reserved to situations where there aren't any alternatives.
@SivanagBalla Is there a reason why you don't want to use a newer Ubuntu Mono NF version?
from terminal.
I liked the older double wide verison of these characters and so i kept it.
Anyway, turning off Builtin Glyphs worked. This is good enough for me. But does this option have any other side effects?
from terminal.
No, it simply disables these builtin glyphs:
The benefit of them being builtin is that they're "pixel perfect", unlike the corresponding glyphs in a font.
from terminal.
Yea I second closing by design. If disabling the builtin glyphs works for you, that's probably the best we'll be able to do in the general case.
Thanks for following up! TIL that there was a version of NF where those glyphs were double-wide
from terminal.
Related Issues (20)
- Arabic rendered as Left to Right HOT 2
- error 2147942487 HOT 3
- Allow remapping of experimental.repositionCursorWithMouse to use key bindings such as Alt + Left Click HOT 2
- The Thai language displays incorrectly in the Windows terminal. HOT 2
- [Windows Terminal]: Name of the current tab is not visible in high contrast desert theme.
- [Windows Terminal - Command Palette]: 'Shortcut keys' in 'Command Palette' are not visible in high contrast themes for focused or hovered rows.
- [Windows Terminal - Settings]: 'Settings' tab does not open in high contrast 'Aquatic' or 'Desert' themes.
- [Windows Terminal - Settings - Defaults]: Unable to navigate 'Font face' suggestions using keyboard in Appearance settings. HOT 1
- keybindings marked deprecated in preview $schema HOT 3
- Terminal runs as an administrator but no response HOT 2
- Starting Admin PowerShell Terminal window via taskbar right-click opens multiple windows HOT 1
- Command line "-F" (fullscreen) in an already running instance? HOT 4
- changing the app name independently of the language settings HOT 1
- Clipboard gets overridden when pasting to a tab with a previous selection with right click or Shift+Insert, when copy-on-select is enabled HOT 2
- Large drop in performance when using font features HOT 3
- After entering the font, a black color block will appear when rolling back HOT 2
- Bell not silent despite bellStyle being set to "none" HOT 2
- Add support for the S8C1T/S7C1T escape sequences HOT 2
- Cannot install/update Windows Terminal: error 0x80070005 HOT 1
- Docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.