Neovide: Can't specify the font weight

Created on 28 Jan 2021  路  1Comment  路  Source: Kethku/neovide

I am using Operator Mono specified with set guifont=Operator\ Mono:h16. It defaults to Light font weight and I would instead prefer Medium. With set guifont=Operator\ Mono\ Medium:h16 it falls back to some other default font. On nvim-qt and gVim setting the font with set guifont=* works perfectly and guifont is set to Operator Mono Medium:h16 and Operator_Mono_Medium:h16:W350:cANSI:qDRAFT. It tried setting the same in neovide but it showed the fallback font instead. On a side note, the implementation of set guifont=* and better conformity to :h guifont would be useful.

enhancement

Most helpful comment

I managed to show _Medium_ font weight by straight up removing the font files for _Light_, _Book_, and _Bold_ font weights. However, bold and italics highlighting still doesn't work. If possible, implementation of font selector would be godsend.

>All comments

I managed to show _Medium_ font weight by straight up removing the font files for _Light_, _Book_, and _Bold_ font weights. However, bold and italics highlighting still doesn't work. If possible, implementation of font selector would be godsend.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kethku picture Kethku  路  87Comments

wbthomason picture wbthomason  路  35Comments

deisi picture deisi  路  28Comments

szbergeron picture szbergeron  路  28Comments

Ninmi picture Ninmi  路  53Comments