-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Does not pick up FiraCode v2 #1968
Comments
For some reason FiraCode v2 works on macOS for me. I haven't tested it on Linux though. I find it weird that they would change the spacing between versions. Did you install the package |
spacing is not set by the font. Spacing is calculated from actual glyph |
@kovidgoyal thanks for your work! Is it possible to tag a new release in order to have kitty updated on Arch? Thanks again. |
You can use kitty-git from the AUR as long as no new version is released. |
Or just setup the fonts.conf file as shown in the linked fira code bug |
Awesome, thanks! |
@kovidgoyal I have tried to follow your advice on the FAQ link. However,
<match target="scan">
<test name="family">
<string>Noto Sans Mono</string>
</test>
<edit name="spacing">
<int>100</int>
</edit>
</match>
I have used Any ideas? |
I installed Fira Code v2 as root, and had the same problem - I needed 'sudo fc-cache -fr' before the fontconfig changes would let kitty pick up the font. |
I found the cause eventually. I had a massive cache(thousands of files) that the fc-cache command even with those flags was not clearing, in my home dir I think, after deleting that, I believe configs worked properly |
After updating to fira code 2, it does not seem to be picked up by kitty.
Fira Code does not show up in either
kitty list-fonts
orkitty --debug-font-fallback
.I read in an older issue that kitty looks for fonts with
spacing=100
but the new fira-code seems to setspacing=90
(on my system at least).I'm not sure if kitty is wrong for not picking up the font or if it's FiraCodes fault for setting a wrong spacing, though.
But VsCode and IntelliJ render FiraCode correctly so the font seems to be picked up by the system in general.
Though Konsole and qterminal both too do not pick up the font as monospace.
I also tried running
kitty --config NONE -o "font_family=Fira Code" --debug-font-fallback
but that didn't change anything.kitty version: 0.14.4
os: Arch Linux
kiity.conf font_family line:
Output of
fc-list -v FiraCode
(limited to the FiraCode-Regular type):Shortened output of
kitty list-fonts
:The text was updated successfully, but these errors were encountered: