I am trying to configure gvim font on linux in .vimrc
but it produces strange results.
To make gvim use "Liberation Mono" I added set guifont=LiberationMono: h12
. It gets applied but does not recognize :h12
option and output:
Error detected while processing /home/tastyminerals/.vimrc:
line 44:
E518: Unknown option: h12
But I am ok with the result since the font gets applied.
However when I correct the line to set guifont=LiberationMono:h12
gvim does not complain but the font gets changed to this:
This is not "Liberation Mono" of course, this thing happens with any other font I try to use. Why does the font get changed to some strange monospaced variant? How can I configure the font correctly?