nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.92k stars 181 forks source link

Incorrect NF symbol shown for Rust #427

Closed chardoncs closed 3 months ago

chardoncs commented 3 months ago

I think there is something not matched to nerd fonts.

Bold fonts are fine. This issue only comes with regular fonts.

image

Nerd fonts version: 3.1.1 (Fira Code patch) nvim-web-devicons branch: master Neovim version: 0.9.5

chardoncs commented 3 months ago

Okay it also happens outside neovim. I think it's nerd fonts' issue.

baco commented 2 months ago

image

baco commented 2 months ago

It seems the icon being used is ue68b instead of ue7a8. Both have the same glyph according to NF site:

image

but when downloading the assets, if we only download the Monospaced version, the .ttf file only has ue7a8 glyph available.

chardoncs commented 2 months ago

@baco

I solved the issue by removing some fonts. That should be a conflict with other font files. Probably an icon set tied to Windows.

baco commented 2 months ago

@chardoncs what can I say, I can not ditch the other one; It's system-wide installed:

$ fc-list :charset=e68b
/usr/share/fonts/truetype/libreoffice/opens___.ttf: OpenSymbol:style=Regular
/home/baco/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf: Symbols Nerd Font Mono:style=Regular

vs:

$ fc-list :charset=e7a8
/home/baco/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf: Symbols Nerd Font Mono:style=Regular