RMichelsen / Nvy

Nvy - A Neovim client in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird character rendering related to line spacing

lopi-py opened this issue · comments

commented

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.

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.