Export (0) Print
Expand All

System Fonts Registry Settings

Other versions of this page are also available for the following:
Windows Mobile Not SupportedWindows Embedded CE Supported
8/28/2008

The settings for the default system font, menu font, menu bar font, pop–up menu font, button font, out–of–memory dialog font, and ClearType can all be set using registry keys.

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

Aa911384.note(en-us,MSDN.10).gifNote:
The default registry values vary depending on which Catalog items are included in your OS design. 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.

If HtInPts value of this registry key is 1, that indicates font height in hundredths of a point and must be positive. It will be scaled by the display driver's DPI setting (LogicalPixelsX).

If HtInPts value is 0, the font height in logical units and may either be positive or negative.

HtInPts : DWORD

Default setting is 0.

If set to 1, the Ht value of thisregistry key is in hundredths of a point instead of logical units.

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 parameters.

Value : type Description

Nm : REG_SZ

Default setting is Tahoma.

Indicates the font name.

Ht : REG_DWORD

Default setting is e.

If HtInPts value of this registry key is 1, that indicates font height in hundredths of a point and must be positive. It will be scaled by the display driver's DPI setting (LogicalPixelsX).

If HtInPts value is 0, the font height in logical units and may either be positive or negative.

HtInPts : DWORD

Default setting is 0.

If set to 1, the Ht value of thisregistry key is in hundredths of a point instead of logical units.

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 parameters.

Value : type Description

Nm : REG_SZ

Default setting is Tahoma.

Indicates the font name.

Ht : REG_DWORD

Default setting is e.

If HtInPts value of this registry key is 1, that indicates font height in hundredths of a point and must be positive. iI will be scaled by the display driver's DPI setting (LogicalPixelsX).

If HtInPts value is 0, the font height in logical units and may either be positive or negative.

HtInPts : DWORD

Default setting is 0.

If set to 1, the Ht value of thisregistry key is in hundredths of a point instead of logical units.

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 parameters.

Value : type Description

Nm : REG_SZ

Default setting is Tahoma.

Indicates the font name.

Ht : REG_DWORD

Default setting is e.

If HtInPts value of this registry key is 1, that indicates font height in hundredths of a point and must be positive. It will be scaled by the display driver's DPI setting (LogicalPixelsX).

If HtInPts value is 0, the font height in logical units and may either be positive or negative.

HtInPts : DWORD

Default setting is 0.

If set to 1, that indicates that the Ht value of thisregistry key is in hundredths of a point instead of logical units.

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 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 parameters.

Value : type Description

FontWeight : REG_DWORD

Indicates font weight for button fonts. Set to LOC_BUTTONFONTWEIGHT.

Community Additions

Show:
© 2014 Microsoft