Partager via


Managing Linked System Fonts (Windows Embedded CE 6.0)

1/6/2010

To manage font properties that are locale–specific, create locale–specific registry settings. For example, if the starting system default is Japanese, the default font has no bold value available. If the selected switch is to English, the resulting font will also have no bold because the default setting was Japanese. You can however set the font weight property associated with the new locale to have the font display properly.

You can track the needed registry settings with a registry structure based on Locale. The following example shows how to create a registry structure for Locale.

HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt\<Locale>
    lfHeight, lfWeight, lfCharSet, lfItalic, lfFaceName

Separate registry values are needed for each locale–specific UI that runs on the target device.

See Also

Other Resources

Working with Fonts in the MUI
Enabling Font Linking