Setting the Registry Key to Adjust Gamma Settings

You can improve the appearance of ClearType text by adjusting the gamma values. The gamma values control the luminance generated on an LCD screen.

To adjust the gamma settings for the platform,

  1. In the Workspace window, choose the ParameterView tab.

  2. Expand the <Platform Name> parameters node.

  3. Expand the C:\WINCE420 node.

  4. Expand the node that matches the name of your BSP. For example, if you are using the CEPC BSP, then expand the CEPC node.

  5. Expand the Project Specific Files node.

  6. Right-click Project.reg, and then choose Open.

  7. Add the following text to the end of the registry file in order to enable ClearType for the platform.

    ; Settings to enable gamma adjustment
    ; Valid values for gamma values range between 1000 and 2200.
    [HKEY_LOCAL_MACHINE\System\GDI\Gamma] 
    "Gamma Value"=dword:1500 
    
  8. From the File menu, choose Save and then choose Close.

See Also

How to Implement ClearType

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.