Enabling ClearType

Windows CE .NET provides support for ClearType, which uses characteristics of LCDs to make text seem less jagged and more like printed type on paper, increasing the readability of the text. ClearType increases the effective screen resolution on LCDs by taking advantage of the red, green, and blue subpixels that make up each pixel on a color screen. By mathematically adjusting the signal from these subpixels, ClearType creates text in which the letters have smoother edges. Windows CE supports ClearType for display devices with color depths of 8, 16, 24, or 32 bits per pixel (bpp).

To enable ClearType across your entire platform, set the HKEY_LOCAL_MACHINE\SYSTEM\GDI\Cleartype registry key to any value. To disable ClearType across you entire platform, remove this registry key. Setting this registry key to zero does not disable ClearType.

**Note   **ClearType can work poorly for some TrueType fonts. Be sure to test all the fonts that you include in your platform for legibility when you enable ClearType for your platform.

For information about using ClearType within an application and about adjusting the gamma correction value that ClearType uses for the display contrast, see Working with ClearType Fonts. For information about using ClearType in a display driver, see ClearType.

See Also

Customizing Fonts | Fonts Implementation Considerations | Fonts

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.