Gvim displays wrong font when set from _gvimrc, but correct font when set from menus
- by dggoldst
This question applies to gVim running on Windows. I have the following line in my _gvimrc
set guifont=Lucida_Sans_Typewriter:h11:cANSI
When gVim starts up, it strange italicizes everything!
A call to :set guifont shows that things seem to have been set correctly, as it returns
guifont=Lucida_Sans_Typewriter:h11:cANSI
Then I manually select Edit-Select Font ... and then choose Lucida Sans Typewriter, and font size 11 and submit, the italics disappear and it looks fine.
I've posted my _gvimrc for reference at http://vim.pastey.net/132157
So my questions are:
Why am I getting different results from setting it manually and from _gvimrc?
Is there a way to capture the command that the dialog box is sending back to the program? It might include extra commands that I'm missing.