0xType / 0xProto

A programming font focused on source code legibility
SIL Open Font License 1.1
1.47k stars 12 forks source link

Some letters appear as cut-outs in kitty #76

Closed pithecantrope closed 1 month ago

pithecantrope commented 2 months ago

'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 commented 2 months ago

@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.

and try to identify where the problem is.

pithecantrope commented 1 month ago

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

matype commented 1 month ago

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?

pithecantrope commented 1 month ago

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? https://github.com/kovidgoyal/kitty/issues/7570#issue-2369183273

matype commented 1 month ago

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

pithecantrope commented 1 month ago

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 commented 1 month ago

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