On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
Robert Cussons wrote:
>
>
> Peter Hodge wrote:
>
>> Some GUIs will allow you to use the command
>>
>> set guifont=*
>>
>> Which brings up a font selection window. If that works, you can
>> select a font
>> and then use
>>
>> set guifont
>>
>> to find out exactly what to add to your .vimrc
>>
>> regards,
>> Peter
>>
>> --- Yakov Lerner <[EMAIL PROTECTED]> wrote:
>>
>>
>>> On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
>>>
>>>> I just installed vim 7 on my linux system at work (more specifically
>>>> debian sarge running KDE 3.3) and I get a few funny things
>>>> happening. It
>>>> is installed in my home/bin directory as I don't have root permissions.
>>>> All comments seem to come out underlined and the fonts for everything
>>>> including the menus are different to before, I don't know how to check
>>>> the current font setting, but when I type :set, there doesn't seem
>>>> to be
>>>> anything that would have changed the font listed. Anyone had the same
>>>> problems?
>>>
>>>
>>> :set guifont?
>>>
>>> Yakov
>>>
>>
>>
>>
>> Send instant messages to your online friends
>> http://au.messenger.yahoo.com
>
I found out by accident that the font is Monospace 10, so I put the
following line in my .vimrc
set guifont=Monospace\ 10
but I still get different fonts, I have attached a screenshot of two
gvim sessions, lhs is gvim7, rhs is gvim6.3, if you look at the bottom
of each window is sets the font as I have just executed :set guifont? in
each of the windows. They have both accessed and read the .vimrc it
would seem, so what is wrong?
Are those two vims built with same GUI libraries ? I suspect
that they are build with different GUIs.
Can you send first 4 lines out :version output from each of two vims ?
Yakov
P.S. I remember that I had similar issue between one Qt-based
program and similar Xt-based program. I set same font for them two,
but they showed it rather differently. Maybe you'll want to rebuild
vim7 to use same GUI as your vim6.3. If you send first 4 lines from
both vims :version, we'll know which GUI they are both built with.