Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.