How To Set System Fonts (246780)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 2.11
  • Microsoft Windows CE Platform Builder 2.12

This article was previously published under Q246780
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

To set a different system font you must modify the registry to reflect the settings you want.

MORE INFORMATION

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The system font is set through the following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\GDI\SYSFNT]
        "Nm"="[name of font]"
        "Ht"=dword:[size, specified as an lfHeight]
        "It"=dword:[non zero for italic]
        "Wt"=dword:[weight specified as lfWeight]
				
There are several fonts used by the system that can be adjusted. Please see the Config.reg file for examples.

Modification Type:MinorLast Reviewed:8/30/2004
Keywords:kbhowto KB246780