Wojciech Grzemski wrote:
Hello all,
I'm trying to get nice antialiased font on carbonized version of Vim and
I've run ito some problems. if my .gvimrc contains:
        
        if exsits(&macatsui)
                set nomacatsui
        endif

I get very nice antialiased font (Monaco) but cannot see properly (nor
write) Polish diacritics. If I comment out the above lines I don't
have antialiased font, but have no problem writing or reading files
containing Polish letters. With the above snipped I tried to set encoding and termencoding variables to latin-2, utf-8 but to no avail; "antialias" is set in both cases.


Not all fonts have the same set of glyphs. Some fonts may have no ogoneks, others no Arabic letters, no Hebrew letters, no Chinese letters, etc. You may try fiddling with the 'guifont' option until you get one with the glyphs you need. On Windows I usually use a Lucida_Typewriter font, but it hasn't got Arabic and its Cyrillic (especially cyrillic bold) glyphs are not exactly the same width as the rest: so for Arabic or Russian I use Courier_New which has a wider variety of glyphs, and of more constant width, even if not so nice to look at.

Try

        set guifont=*

(to set the font by menu if your version of gvim allows it) or else (assuming 'nocompatible' is set) you may also use

        set guifont=<Tab>

The latter brings up the current value on the command-line with escaping backslashes if and where needed: edit to your liking then hit <Esc> to abandon the changes or <Enter> to accept them.


Best regards,
Tony.

Reply via email to