简体   繁体   中英

Add to Available Fonts in gVim

While at work, I'm sadly forced to use Windows. I'm unhappy with (read: rageful toward) the font choices gVim offers, and I'd like to change it to the font I use on my dev computer at home.

However, gVim has limited options when it comes to what is available with the set guifont= option. Even though I know the font in question is great with VIM, as I use it elsewhere, I don't know how to add to the list of available fonts even though I have installed it on this machine, and I can't find this information anywhere.

Does anyone have any insight into this? I really don't understand why I can't set the guifont to be any monospace font I damn well please, instead of what gVim thinks is best.

I've just downloaded, unpacked, installed DejaVu Sans Mono and it's added to the list.

I've done the same with your font and it's not added to the list.

It's probably a problem with the font itself.

From :help guifont I gather that, on Windows, Gvim only accepts monospaced fonts.

From the description your font seems to be monospaced but it's probably not 100% exact: I don't know if it's a glitch or what but the boxes on the pages don't seem to align very well.

I think that a monospaced font should make all the boxes aligned.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM