On 09/06/09 22:46, Vladimir Brik wrote:
>
> Hello,
>
> I'd like to use a font called "Verily Serif Mono"
> (http://www.geocities.com/hartke01/) in gvim on Windows Vista.
> However, that font isn't listed in gvim's font selector dialog even
> though it's installed and other applications are able to use it.
>
> The font is monospaced and I am able to it on Linux without problems.
> I tried "set guifont=Verily_Serif_Mono:h12" but got E596: Invalid
> font(s). Same thing happens for both ttf and otf formats of the font.
>
> What could be wrong? Any suggestions on how I could get gvim to use that font?
>
>
> Thanks,
>
> Vladimir

Maybe the font doesn't "declare" itself as monospaced, which is 
something else than _actually_ having glyphs all the same width. It also 
doesn't depend on being a bitmapped or scalable font (for instance, 
Fixedsys, a bitmapped font, and Courier_New, a scalable font, both 
declare themselves as monospaced and can both be used on gvim wherever 
they are installed).

On which Linux gvim did you test it? If GTK2, it can be explained, 
because GTK2 will try to use any installed font you give it, even one 
which doesn't "declare" itself as monospaced. The results are not always 
pretty, they can even sometimes be very ugly, especially for fonts whose 
glyphs have widely varying widths.

Most non-GTK2 versions of gvim, including the Windows version, will only 
accept fonts which declare themselves as monospaced. If yours doesn't, 
then it will be "invalid" for Windows gvim (but not for GTK2 gvim).


Best regards,
Tony.
-- 
Reality is an obstacle to hallucination.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to