Tuesday 5 June 2018

vim - 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?



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.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...