Windows – gvim font settings in windows


I want to use anti-aliasing and hinting with gvim on windows. On my *nix box I just added the following to my .Xresources file:

Xft.antialias:  true
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:  hintfull

How do I achieve the same in windows?

Best Answer

Vim doesn't use Xft on Windows; instead the native Windows font rendering is used.

The subpixel antialiasing is called "ClearType". In Windows 7 it is on by default, and adjustable through Control Panel → Appearance and Personalization → Display → Adjust ClearType text. On Windows XP, use ClearType Tuner. Font hinting is always enabled.