yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.29k stars 26 forks source link

support for variable width fonts? #248

Open m-faith opened 1 year ago

m-faith commented 1 year ago

Regarding:

Features

  • Font handling
    • Proper font rendering -- respects font style, baseline, ligatures etc

Does this include variable-width fonts?

I do a lot of writing in vim and would love to get a vim gui that can handle normal (non-monospace) fonts with their varying widths.

Thanks in advance!

yatli commented 1 year ago

Hi!

Currently this is not possible. You can load variable width font, and it will render words with kerning, but the grid nature of framebuffer management code will create artifacts everywhere.

Interesting feature though. Currently I don't have the bandwidth to implement this, but I'll keep this in mind.

m-faith commented 1 year ago

Hey, thanks for the response! I'm grateful to know it's not possible to avoid spending lots of time trying to find out!