be5invis / Iosevka

Versatile typeface for code, from code.
http://be5invis.github.io/Iosevka
SIL Open Font License 1.1
19.28k stars 576 forks source link

Letters in circles #1188

Closed marromlam closed 3 years ago

marromlam commented 3 years ago

I recently started using Iosevka since ligatures issues with kitty terminal were fixed. I was using Victor Mono and I set the vim mode I am currently in with N, I, V, R... in inverted circle. My problem is that with Iosevka the symbols I see are really tiny wrt. the ones I got with Victor Mono. Furthermore, if I try numbers in inverted circles, I can see them properly.

Would it be difficult to implement these symbols? Thanks! 🅐 (U+1F150) 🅑 (U+1F151)...

be5invis commented 3 years ago

image We have wide versions of these, but maybe you are using the Term variant, then they will look small. This is by design.

marromlam commented 3 years ago

Those look really nice! I am using the non Term variant (I think). I just basically use these lines in my kitty.conf:

# Iosevka font {{{

font_family      Iosevka
bold_font        Iosevka Bold
italic_font      Iosevka Italic
bold_italic_font Iosevka Bold Italic
font_features    Iosevka -calt +dlig cv93=3

adjust_line_height 2

# }}}

I get exactly this picture Screenshot 2021-08-09 at 02 14 41 I print A and 1, just to compare them. Screenshot 2021-08-09 at 02 23 09

I use kitty 0.22.2 and Iosevka 9.0.1, both of them directly installed by homebrew

be5invis commented 3 years ago

So Kitty is shrinking the glyph :( I think you may report this bug to Kitty, the glyph is correct, but it made it small.

wimstefan commented 3 years ago

Not sure if kitty is shrinking the glyph since it's behaving well with a different font - in this case Cascadia Code. Or maybe I'm just thinking too simple ... ;)

scrot-2021-08-09-12:56_000 scrot-2021-08-09-12:56

clsn commented 3 years ago

I noticed a while ago that kitty seems to shrink glyphs that are too big for its character cells. This can be a problem for ligaturing fonts etc. Maybe it isn't always happening, maybe there are different circumstances that cause it to happen or not, but I definitely know that kitty shrinks glyphs.

be5invis commented 3 years ago

As the "enclosed letter - space" ligature is implemented in Kitty, closing this issue.