RMichelsen / Nvy

Nvy - A Neovim client in C++
MIT License
332 stars 28 forks source link

Weird character rendering related to line spacing #112

Closed lopi-py closed 2 months ago

lopi-py commented 10 months ago

Nvy:

image Even with --linespace-factor=1 it still happens, I need to set it to 0.8 but thats not great at all (it's too small).

Alacritty:

image I think alacritty handles that because I set font.offset to 5, similar to linespace-factor option and it works great with no issues.

[font.offset]
x = 1
y = 5

[font.glyph_offset]
y = 3

No matters what font I use.

Zorbn commented 6 months ago

I think Alacritty has a custom way to draw those characters so that they will line up. Otherwise, they're just normal characters and will be separated by line spacing and things like that.

RMichelsen commented 2 months ago

You might be able to get rid of the spacing by using the --linespace-factor=<float> option, but other than that I don't think this is really something I want Nvy to support.