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 if font exists; but in a platform-dependent way, it's possible to check using system() and external utility like fc-list or xlsfonts. Yakov
