Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer
    
Oh, I've turned off ClearType because I didn't like it. Can I enable it only for gvim? – user12932 Jul 16 '11 at 15:07
1  
No. (It's technically possible but you would need to patch Gvim.) If ClearType looks bad to you, try adjusting contrast in CT Tuner. – grawity Jul 16 '11 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .