-
Notifications
You must be signed in to change notification settings - Fork 63
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
Always uses Source Code Pro ExtraLight #177
Comments
Hi Goneovim's font weight should normally be normal size. Here's the part where the font weight is handled. Lines 1672 to 1709 in c66c8b2
I didn't specify this in the documentation, but I assume that you could control the weight by using
If you explicitly specify |
No matter what I specify for the weight, I still get Source Code Pro Here is the output of
As you can see, some of them have alternate family names and those work fine. |
Sorry for late reply. I've checked on my archlinux and the problem seems to be reproduced. https://gist.github.com/akiyosi/d4ca9825c03bb22db78666d3992a5221 I don't know how to read FC_DEBUG's output, but is it the same in your environment? |
I'm not sure what exactly you are asking. Is your output different every time you start up goneovim? For me it is the same. I tried running I ran
I'm don't know a lot about fontconfig myself but I think the general architecture is:
Here is an example |
Thanks for detail.
My intention is that the output content of FC_DEBUG will be different each time the command The algorithm inside goneovim is to give the font family names to setfamily() method of https://doc.qt.io/qt-5/qfont.html#setFamily I'm continuing to look into it now and will reply here if there is any progress. |
I'm also experiencing this problem with other fonts (Firacode, Jetbrains Mono); the font weight is always at the lightest weight. Interestingly, I found that, explicitly setting font weight via Any updates on this? |
@enjoydambience One thing I'd like to check is whether changing the following settings will change the behavior related to this issue. [~/.config/goneovim/settings.toml]
|
Just checked: setting CachedDrawing to false fixed the problem; fonts now appear at their appropriate weight. |
Hi |
Seems to have fixed the problem for me; fonts work properly with CachedDrawing=true. |
@enjoydambience |
I am on Arch Linux and I installed the adobe-source-code-pro-fonts package.
setting.toml
is empty and this is all I have in my init.vim:But when I start goneovim, it chooses Source Code Pro Extra Light instead of Regular. I checked by running like this:
The only way I could solve was by deleting Extra Light. But then it chose Light. So in the end I had to delete both and only then it chose the regular style.
The text was updated successfully, but these errors were encountered: