Re: selecting a guifont via if statement

2006-10-11 Thread Yakov Lerner
On 10/11/06, Robert Hicks <[EMAIL PROTECTED]> wrote: Is there a function to determine if a font exists? Something like: if exists("Monaco") set gfn=Monaco:h10 elsif exists("Consolas") set gfn=Consolas:h11 endif There doesn't seem to be platform-independent vimscipt method to ch

Re: selecting a guifont via if statement

2006-10-11 Thread A.J.Mechelynck
Robert Hicks wrote: Is there a function to determine if a font exists? Something like: if exists("Monaco") set gfn=Monaco:h10 elsif exists("Consolas") set gfn=Consolas:h11 endif Roughly... Robert Not exactly; but there are two possibilities to choose an existing font: Method I. I

selecting a guifont via if statement

2006-10-11 Thread Robert Hicks
Is there a function to determine if a font exists? Something like: if exists("Monaco") set gfn=Monaco:h10 elsif exists("Consolas") set gfn=Consolas:h11 endif Roughly... Robert