-
-
Notifications
You must be signed in to change notification settings - Fork 971
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
Cannot resolve font with fontconfig 2.13.96 #4649
Comments
Then report it to the fontconfig project. |
And just for the record, you dont need to do all this dancing in |
Sure - I'll do that. What's confusing is that my |
It isn't not resolving the font, fontconfig has probably reclassified it |
Great tip @kovidgoyal. I'm trying to find the standalone NERD font but the closes I'm finding on my system (Arch) is |
I get it from the following location. https://github.com/ryanoasis/nerd-fonts/tree/2.2.0-RC/src/glyphs
I had compared the file hash from that package before and it is the same. |
@page-down Thank you! ❤️ I just tried running: <alias>
<family>term</family>
<prefer>
<family>Iosevka</family>
</prefer>
</alias> and it's still unable to resolve the font 🤔 |
I installed and tried it specifically. Can not reproduce this. https://github.com/be5invis/Iosevka/releases/download/v11.3.0/ttc-sgr-iosevka-11.3.0.zip
It is worth noting that I did not install kitty from archlinux. EDIT: |
@page-down Cheers for helping me debug this! ❤️ I've now narrowed this down to: <?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Set preferred serif, sans serif, and monospace fonts. -->
<alias>
<family>monospace</family>
<prefer>
<family>Cousine</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>term</family>
<prefer>
<family>Iosevka</family>
<family>Symbols Nerd Font</family>
<family>Noto Color Emoji</family>
<family>Symbola</family>
</prefer>
</alias>
</fontconfig> Strangely enough it seems like Running
but
|
I "sort of" solved this by using the sQVe/dotfiles@d145168#diff-4fb4286f5f5e882fcae1801191828518c19485e7ce77727b05f47838fa3db65c |
That happens because Iosevka is dual spaced not monospaced so fc-match returns your actual monospaced font and because you are selecting it by an alias not an actual font name, there is no way for kitty to check if fc-match has returned what you wanted. Check it yourself with: fc-match term:spacing=mono |
Describe the bug
I set my font via
fontconfig
and with the following section:I just updated
fontconfig
from2.13.94
to2.13.96
and my alias isn't working anymore. Downgradingfontconfig
solves it.To Reproduce
Steps to reproduce the behavior:
fontconfig
(2.13.96
).Environment details
The text was updated successfully, but these errors were encountered: