Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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.

Copy Code
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