A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > 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. >
Hello again, Tony, thanks for the information. As it appears the solution to my problem was already posted on the 'vim-mac' mailing list. Apparently "In the original code, antialiasing is intentionally turned off with ATSUI rengering, because it causes problems [...]" (a quote from the post with the solution). Anyway, if anyone is interested the whole thing is described here (two patches to source code of vim): http://marc.theaimsgroup.com/?l=vim-mac&m=114907838112145&w=2 and works very well. At least on two Macs I have access to ;-) All the best, -- Wojciech Grzemski <[EMAIL PROTECTED]> "On Margate Sands..."