System Font Registry Settings

For more information about these registry settings, see Replacing Fonts.

The HKEY_LOCAL_MACHINE\System\GDI\SysFnt registry key is used for system fonts. The following table shows the named values for the SysFnt configuration parameters.

Note   The default registry values vary depending on which features are included in your platform. For more information, see Default Registry Settings.

Value : type Description
Nm : REG_SZ Default setting is Tahoma. Indicates the font name.
Ht : REG_DWORD Default setting is e. Indicates font height.
It : REG_DWORD Default setting is 0. When set to 0, indicates that the font is italic.
Wt : REG_DWORD Default setting is 190. Indicates the font weight or boldness.
CS : REG_DWORD Default setting is 0. Indicates the font character set.

The HKEY_LOCAL_MACHINE\System\GWE\Menu\BarFnt registry key is used for menu bar fonts. The following table shows the named values for the BarFnt configuration parameters.

Value : type Description
Nm : REG_SZ Default setting is Tahoma. Indicates the font name.
Ht : REG_DWORD Default setting is e. Indicates font height.
It : REG_DWORD Default setting is 0. When set to 0, indicates that the font is italic.
Wt : REG_DWORD Indicates the font weight or boldness. Set to LOC_MENUBARFONTWEIGHT.
CS : REG_DWORD Default setting is 0. Indicates the font character set.

The HKEY_LOCAL_MACHINE\System\GWE\Menu\PopFnt registry key is used for popup menu fonts. The following table shows the named values for the PopFnt configuration parameters.

Value : type Description
Nm : REG_SZ Default setting is Tahoma. Indicates the font name.
Ht : REG_DWORD Default setting is e. Indicates font height.
It : REG_DWORD Default setting is 0. When set to 0, indicates that the font is italic.
Wt : REG_DWORD Default setting is 190. Indicates the font weight or boldness.
CS : REG_DWORD Default setting is 0. Indicates the font character set.

The HKEY_LOCAL_MACHINE\System\GWE\OOMFnt registry key is used for out-of-memory dialog fonts. The following table shows the named values for the OOMFnt configuration parameters.

Value : type Description
Nm : REG_SZ Default setting is Tahoma. Indicates the font name.
Ht : REG_DWORD Default setting is e. Indicates font height.
It : REG_DWORD Default setting is 0. When set to 0, indicates that the font is italic.
Wt : REG_DWORD Default setting is 190. Indicates the font weight or boldness.
CS : REG_DWORD Default setting is 0. Indicates the font character set.

The HKEY_LOCAL_MACHINE\System\GWE\Menu registry key is used for menu fonts. The following table shows the named values for the Menu configuration parameters.

Value : type Description
SepHt : REG_DWORD Indicates the total height of a menu separator.
SepXMrg : REG_DWORD Indicates the margin of white space to the left of the menu separator line.
SepYMrg : REG_DWORD Indicates the margin of white space above the menu separator line.
BarLMrg : REG_DWORD Indicates the margin of white space to the left of one menu bar item.
BarRMrg : REG_DWORD Indicates the margin of white space to the right of one menu bar item.
BarTMrg : REG_DWORD Default setting is 2. Indicates the margin of white space above a menu bar item.
cmsScrl : REG_DWORD Indicates the scrolling menu scroll period in milliseconds.
Page : REG_DWORD Indicates the number of up arrows that equal a Page Up. This is the same as for a Page Down.
Overlap : REG_DWORD Default setting is 60. Indicates the number of pixels between a parent menu and its cascading menu when using overlapping cascading menus, component mOverlap.

The HKEY_LOCAL_MACHINE\System\GWE\Button registry key is used for button fonts. The following table shows the named values for the Button configuration parameters.

Value : type Description
FontWeight : REG_DWORD Indicates font weight for button fonts. Set to LOC_BUTTONFONTWEIGHT.

See Also

General Font Registry Settings | Font Registry Settings for Japan | Font Registry Settings for Korea | Font Registry Settings for Simplified Chinese | Font Registry Settings for Traditional Chinese | Font Linking Registry Settings

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.