Pablo Arantes wrote:
Fellow users,
I'm using gvim 7.0 in a Windows XP SP2 box and I'm experiencing a
problem with font selection. I want to set as the default gui font a TTF
monospaced font, called Pragmata TT, but it won't show up in the list
of available fonts. I've searched the vim archives and google and
cannot figure out why it won't be listed as an option even though it *is* a
monospaced font and other TTF monospaced fonts appear in the list.
The font author could not help and provided me an OTF version that gvim
accepts, although it renders much worse than the TTF in programs where
the latter version actually works.
Thanks in advance for any tip or suggestion.
Well, maybe the code in the font itself doesn't identify it as fixed-width.
Except in gvim versions with GTK2 GUI (which are for X11, thus not for
native-Windows), gvim will only accept fonts that identify themselves as
fixed-width. Apparently your Pragmata TT font doesn't. OTOH, Lucida Console
does, although its bold Cyrillic glyphs are very slightly wider than other
glyphs, which makes its use problematic when editing Russian.
If ":set guifont=Pragmata_TT:h12:cDEFAULT" or ":set
guifont=Pragmata:h12:cDEFAULT" don't work, then your only choice is to use
another font, unless you want to compile a version of gvim for Cygwin/X11 with
GTK2 GUI; but there are other problems to that.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
155. You forget to eat because you're too busy surfing the net.