-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Vue Icon cut off #795
Comments
Complete 'your setup' section missing. |
@Finii , Sorry about that, I have updated in the issue detail. |
I believe Windows Terminal, is that not prescribing fixed widthes?
I can not find the Tried from the repo and ended up with this: The font has the icons added 'big', i.e. more than one monospace-space wide (Note 832 vs 600 in image above). Windows Terminal scales them down for you, depending on glyph range. From the 2.1.0 release here the There both are 600 wide, but the symbol extrudes a bit to the right (into the next character). That is preserved by Windows Terminal. Some explanations about the differences can be found in #731 and #764. Your expected behavior, I guess, can be achieved by using Font Flavior 1, the If you try things out,
|
P.S. You run |
Thanks for the detailed investigation which is helpful. Really appreciate your time. There is WSL in the middle. no GUI. And you guess is right, here are some interesting results I tested with your direction. Even more bizarre, if I open Let me try to get rid off any variants and clean the Font Cache. I would update if anything changes. Below is my init.vim if you feel interested to check if anything interesting there. (FYI: I am in the middle of moving to lua. ) |
I guess NPM is in the 'wide' area and therefore 2 slots wide. Here you can check if Windows Terminal thinks the glyph is narrow or wide (or ambiguous): |
vue hex is fd42 which is Unspecified.
npm hex is e71e which is Ambiguous.
I guess the unspecified is causing this issue. All icons in range fdxx have the same rendering issue which proves it. Thanks for the investigation and I really learned a lot. |
Ah, I remember someone wrote that "the 'aligning' is done only on color changes". Here: #746 (comment)
While Terminal emulators get more and more 'smart' 🙄 Guess we soon need a Terminal Emulator Issues FAQ. |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference. |
🗹 Requirements
🎯 Subject of the issue
Experienced behavior:
Vue icon is cutoff but others looked okay.
Might be a Neovim thing as it looks okay if I output via Unicode.
If I use Unicode to input in neovim and append a space , still not okay.
a few more icons have the same issue

🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?JetBrainsMono NF (JetBrains Mono Light Nerd Font Complete Windows Compatible.otf)
I tried both the one in the patched folder in the repo and the one download from
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/JetBrainsMono.zip
iterm2
,urxvt
,gnome
,konsole
)?Windows Terminal
Microsoft Windows [Version 10.0.19042.1466]
Expected behavior:
aligned. also quite appreciated if anyone could provide guidance for a self-patch solution.
The text was updated successfully, but these errors were encountered: