Yakov Lerner wrote:
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:

Yakov Lerner wrote:
>
>
> 1. In vim6.3 , try
>    :set guifont?
> and select the font name with mouse
> 2. In vim7, try
>     :set guifont=xxx
> where xxx if font name as you selected it from vim6.3
> If you get the right font, then put this :set guifont=xxx line into .vimrc
>
> Yakov
>

Hi Yakov,

:set guifont?

yields the same result in both cases:

guifont=

with no font specified, but the fonts are not the same, hence I think
they must be looking at a different default font somewhere. If I knew
what the actual font it was using in vim6.3 was, then I would be able to
do something, but I can't see how to find out. Any ideas anyone?


I do not know of other way other than brute-froce searching in
'set guifont=*' for the right name/size. I have:
  :set guifont=Monospace\ 9
in my vimrc (this is GTK2 gvim) but font names are different depending
on gui flavor of gvim.

Take a look at Antonie's tip
   http://www.vim.org/tips/tip.php?tip_id=632
   "Setting the font in the GUI"

Yakov


Thanks Yakov, I will look over Antoine's tip in more detail tonight and see if I can't find a solution.

Many thanks,
Rob.

Reply via email to