Managing Linked System Fonts
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.
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.