-
Notifications
You must be signed in to change notification settings - Fork 171
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
GuiFont not a fixed pitch font #1083
Comments
fc-list does list the fonts, but if GuiFont is failing either there is a problem with the font itself (usually different size for different variants), or some issue with the Qt font metrics code. We keep a little binary in src/gui/shellwidget/fontinfo.cpp that prints out the font metrics reported by Qt. As workaround you can also force the font using |
The lua code would be vim.cmd('GuiFont ...') If you are running this from init.lua instead of ginit.vim, then you will need something like an autocommand for |
I got it, |
Usually you don't need to set it up manually, check its path in https://github.com/equalsraf/neovim-qt#why-are-the-gui-commands-missing |
To force the font by using lua, use this |
I checked, and it just wasn't there, I download one from the repo, and everything is fine now, thanks. |
That sounds like it is looking for it in the wrong place. If you are building from source it would be in src/gui/runtime. If you installed from some package, it sounds broken, where did you install from? |
I use |
I assume it is this font https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Noto/Sans-Mono is that correct? |
Yes, I also use this font. |
I want Noto Sans Mono font:
:GuiFont Noto Sans Mono
But i got this error:
Noto Sans Mono is not a fixed pitch font
My Fonts:
fc-list | grep NotoSansMono
The text was updated successfully, but these errors were encountered: