Gvim displays wrong font when set from _gvimrc, but correct font when set from menus
        Posted  
        
            by dggoldst
        on Super User
        
        See other posts from Super User
        
            or by dggoldst
        
        
        
        Published on 2010-01-28T18:49:04Z
        Indexed on 
            2010/03/22
            14:41 UTC
        
        
        Read the original article
        Hit count: 447
        
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.
© Super User or respective owner