System Font Registry Settings (Windows CE 5.0)
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 parameters.
Note 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 this registry 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 |
---|---|
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 this registry 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 this registry 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 this registry 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
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 | LOGFONT
Send Feedback on this topic to the authors