Jump to content

Enabling ClearType in Vista


NIM

Recommended Posts

Enabling ClearType in Vista is easy, you can do it in the GUI, and besides its enabled by default anyway. However, tuning ClearType in Vista is not so easy as there is nothing exposed in the GUI for tuning. ClearType is integrated into Vista. There is , however, a way to adjust ClearType in the registry.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:000003e8
"FontSmoothingOrientation"=dword:00000001

These settings affect ClearType 'Globally' across the entire operating system. They may not, however, have much effect for HTML as seen in Internet Explorer. For Internet Explorer you may need to turn on ClearType in the settings for IE.

The "FontSmoothingType", "FontSmoothingGamma", "FontSmoothing", and "FontSmoothingOrientation" items already exist in the registry. The settings for each important item for ClearType activation and tuning are:

"FontSmoothingType" - a DWORD value: 1 = ClearType is not used for the font smoothing, standard font smoothing is used instead - 2 = ClearType is used for font smoothing. (setting to '2' also enables ClearType)

"FontSmoothing" - a DWORD value : 1 = use font smoothing, 2 = use ClearType font smoothing. This is a REG_SZ value, not a dword. This is different from "FontSmoothingType" and is not a switch to help turn on ClearType to begin with. This tells the font smoothing to use AFTER ClearType is enabled.

"FontSmoothingGamma" - a DWORD value: Perhaps the most important setting for ClearType. Range is 1000 to 2200 (integer). Setting to 1000 (the default) produces the most readable text for most people (its the darkest against a white background with a black font). 2200 gives the lighest text. You may be able to go below the 1000 value, I haven't tried that yet since the official lower limit is 1000.

"FontSmoothingOrientation" : This is a hard one to figure out. It seems basically to determine if the display will use RGB, BRG, or a flat pixel structure. Most LCD screens are RGB so play with this one a little if your using a LCD display. The values for this dword are 0, 1, or 2. These values for "FontSmoothingOrientation" and what each does is represented below:

Flat = 0 - The display device has no pixel structure. This means that light sources for each color are spread equally on the pixel area

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...