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
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.
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 check