akiyosi / goneovim

A GUI frontend for neovim.
MIT License
2.39k stars 61 forks source link

Some files types icons shown incorrectly #513

Closed damanis closed 9 months ago

damanis commented 9 months ago

Hi @akiyosi,

Goneovim version: 0.6.8 nvim version (latest snapshot): v0.10.0-dev-2000+g6fa0f303d

Icons of some files types (not for all) are not shown properly. On screenshot telescope window, but same in lualine (or galaxyline). I'm note sure they are relevant: the font taken from nerd font project, nvim-web-devicons installed. It is not clear where the problem, but all icons shown properly in neovim without GUI or in neovide.

image

akiyosi commented 9 months ago

@damanis Thanks for the report! Does this problem still occur in v0.6.7?

damanis commented 9 months ago

@akiyosi In v0.6.7 same behavior.

akiyosi commented 9 months ago

@damanis Perhaps the font files already installed on your OS are out of date. Try getting the latest version of your preferred font from the following link and reinstall it. https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts

It seems that Neovide displays well because Neovide embeds the Nerd Font font family inside the application, based on the source code below. https://github.com/neovide/neovide/blob/main/src/renderer/fonts/font_loader.rs#L13

damanis commented 9 months ago

@akiyosi

Yes, with new font version works properly. Thank you.