Skip to content
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

"Mono" fonts are not working in Kitty terminal #268

Open
sergei-dyshel opened this issue May 9, 2018 · 10 comments

Comments

@sergei-dyshel
Copy link

@sergei-dyshel sergei-dyshel commented May 9, 2018

AFAIU "Mono" versions are explicitly made to fit programs which require monospaced font. I'm trying to recent release (v2.0.0) with Kitty terminal emulator but Kitty doesn't pick them because it does not see them as monospaced.

After opening a issue kovidgoyal/kitty#527 in Kitty's repo the author told me that monospaced fonts are expected to have spacing: 100 when querying them with fontconfig (fc-query <font file>). And indeed the fonts I've tried (Iosevka, Fura Code, Hasklig) don't have this property at all.

Interesting that fonts from previous release (v1.2) do have this property and are properly recognized by Kitty.

@ryanoasis

This comment has been minimized.

Copy link
Owner

@ryanoasis ryanoasis commented May 11, 2018

@sergei-dyshel I think I stumbled upon your issue in kitty actually. Thanks for opening an issue!

I cannot give any ETA, but this project will keep moving forward little by little!

@cosmicc

This comment has been minimized.

Copy link

@cosmicc cosmicc commented May 11, 2018

Trying this new font for my powerline setup, and just ran across this too. 2.0 mono fonts not seen by kitty.

I got excited for a minute when i read the 1.2 fonts still work, but the font I use is Noto and its not on 1.2 :(

I guess I wait..

@Thraka

This comment has been minimized.

Copy link

@Thraka Thraka commented May 24, 2018

Seems multiple issues are being raised for really the same problem #269

@maximbaz

This comment has been minimized.

Copy link

@maximbaz maximbaz commented Jun 4, 2018

Since kitty supports configuring icon fonts for code point ranges, an alternative and more superior approach would be to have an icon-only version of Nerd Fonts and plug it into kitty. #275 is a feature request I made for Nerd Fonts to publish such font.

This would allow to use original coding fonts and not patch anything, simplify migration to a different font once you are bored of your old one, and avoid potential issues that patching process might introduce to the original font.

@kriansa

This comment has been minimized.

Copy link

@kriansa kriansa commented Jul 15, 2018

@maximbaz Did you manage to use the Symbol Nerd Font on kitty? I'm struggling with it because it refuses to display the characters I specify on symbol_map.

@maximbaz

This comment has been minimized.

Copy link

@maximbaz maximbaz commented Jul 15, 2018

To be honest I didn't even get to try it, as I stumbled upon the missing space issue and couldn't replace Font Awesome with Nerd Fonts anyway. But judging by what you are saying, the Symbol Nerd Font is also not monospace, so this exact issue applies to the Symbol font as well 😞

@haasosaurus

This comment has been minimized.

Copy link
Contributor

@haasosaurus haasosaurus commented Aug 1, 2018

you can try the fonts in this branch of my fork for the time being, let me know if they work if you try them please. https://github.com/haasosaurus/nerd-fonts/tree/regen-mono-font-fix

@zeorin

This comment has been minimized.

Copy link
Collaborator

@zeorin zeorin commented Jan 3, 2019

@haasosaurus That works for me. Tested using the Iosevka Term Nerd Font Complete Mono (all styles) and Kitty.

yigitsever added a commit to yigitsever/dotfiles that referenced this issue Jan 23, 2019
MeisterTea added a commit to MeisterTea/dotfiles that referenced this issue Jan 26, 2019
@bartlibert

This comment has been minimized.

Copy link

@bartlibert bartlibert commented May 29, 2019

@haasosaurus: I tried your patched Iosevka fonts on linux, and I see an issue where "ë" is rendered as "e¨" in a much smaller format as the other characters. This also occurs for other accented characters. I don't have this with the unpatched font.
@zeorin: Do you have this issue as well?

@webhive

This comment has been minimized.

Copy link

@webhive webhive commented Jul 26, 2019

@haasosaurus

you can try the fonts in this branch of my fork for the time being, let me know if they work if you try them please. https://github.com/haasosaurus/nerd-fonts/tree/regen-mono-font-fix

Absolutely awesome!
Got my Kitty terminal finally working well
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants
You can’t perform that action at this time.