System Fonts Registry Settings (Compact 2013)

August 12, 2016

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.

Note

The default registry values vary depending on which Catalog items are included in your OS design.

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 HKLM\System\GDI\ClearTypeSettings registry key is used for ClearType settings. The following table shows the named values for the ClearTypeSettings parameters.

Value : type Description

Enabled : DWORD

Default setting is 0.

If set to 1, ClearType is Enabled.

Quality : DWORD

Default setting is 0.

Can be either 0 for CLEARTYPE_COMPAT_QUALITY or 1 for CLEARTYPE_QUALITY.

The CLEARTYPE_COMPAT_QUALITY value produces ClearType text with compatible widths, while the CLEARTYPE_QUALITY value produces standard ClearType text.

NativeOrientation : REG_DWORD

Default setting is 0.

Indicates the native rotation angle of the screen, which is the physical orientation of the subpixels of the LCD in RGB order with vertical striping.

Possible rotation angles are 0, 90, 180, or 270, but only one is native.

OffOnRotation : DWORD

Default setting is 0.

If set to 1, ClearType is turned off when the current rotation angle doesn't match the NativeOrientation.

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.

See Also

Reference

Fonts Registry Settings
General Fonts Registry Settings
Fonts Linking Registry Settings
LOGFONT