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

Some letters appear as cut-outs in kitty #76

Closed
pithecantrope opened this issue Jun 24, 2024 · 7 comments
Closed

Some letters appear as cut-outs in kitty #76

pithecantrope opened this issue Jun 24, 2024 · 7 comments

Comments

@pithecantrope
Copy link

'm' almost looks like 'n' in neovim:
Screenshot from 2024-06-24 22-28-25

Terminal - kitty:
Screenshot from 2024-06-24 22-36-55

modify_font cell_width 110% doesn't really helping:
Screenshot from 2024-06-24 22-43-36

Weird thing is, if I:
Screenshot from 2024-06-24 22-46-48
'm' is still fucked up

Btw, my theme is - https://github.com/dasupradyumna/midnight.nvim

BUT if I set my theme to default, like, retrobox, then it fixes it!
Screenshot from 2024-06-24 22-49-06

What is happening? Is it problem with your amazing font, kitty or my theme?

@matype
Copy link
Member

matype commented Jun 25, 2024

@pithecantrope Thanks for using 0xProto!

First of all, from the screenshot you attached, it doesn't seem to be specific to the italic family.

I don't know anything about nvim's implementation of themes, so I can't say exactly what it is.

BUT if I set my theme to default, like, retrobox, then it fixes it!

But if this is true, then I think it is possible to make changes to the font rendering from the theme side.

  • Does the same thing happen when using other fonts?
  • Does the same thing happen with emulators other than kitty?

and try to identify where the problem is.

@matype matype changed the title Problem with italic version Some nvim themes may render fonts incorrectly? Jun 25, 2024
@pithecantrope
Copy link
Author

It's really a Kitty-rendering issue:
Screenshot from 2024-07-06 11-55-20

@matype
Copy link
Member

matype commented Jul 6, 2024

I see. At least it doesn't seem to be an issue with the nvim theme. Does the same problem occur when rendering with kitty?

@matype matype changed the title Some nvim themes may render fonts incorrectly? Some letters appear as cut-outs in kitty Jul 6, 2024
@pithecantrope
Copy link
Author

Yes, the same problem with Iosevka (M is cut-out):
Screenshot from 2024-07-06 12-35-20

I think this will fix it, right?
kovidgoyal/kitty#7570 (comment)

@matype
Copy link
Member

matype commented Jul 6, 2024

Thank you for verifying!
This is not related to the font but is a problem with kitty. This issue is closed.

@matype matype closed this as completed Jul 6, 2024
@pithecantrope
Copy link
Author

Your font needs to have an italic face that is metric compatible with the regular face for that, it has no connection with font selection/features/variability. - kovidgoyal (kitty creator)

Can't stand the cut offs so I guess I have to go back to the jetbrains Mono until something changes :(

@matype
Copy link
Member

matype commented Jul 7, 2024

0xProto and 0xProto Italic are exactly the same metric 🤔
And probably almost all other monospaced fonts do too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants