RMichelsen / Nvy

Nvy - A Neovim client in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to make underline thicker?

mndtr opened this issue · comments

commented

Is it possible to make underline thicker? Like in nvim-qt. Also undercurl not works(font is fira code NF)
Nvy
Снимок экрана 2022-07-15 155100
Nvim-QT
Снимок экрана 2022-07-15 155221

The underline thickness is currently simply decided by DirectWrite.

As far as undercurl goes it currently just uses underline. As the effect is drawn "manually" with drawRectangle drawing a curly line is a bit cumbersome but of course possible to implement if this is something desirable.

I will close this issue for now, if there is more interest in pursuing this please reopen and I'll reconsider, maybe with a proposal for a solution as well.