Specifying the Directory for Font Loading

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Windows Embedded CE loads system fonts from the \Windows directory on the device by default.

You can specify the directory from which Windows Embedded CE loads fonts by setting the HKEY_LOCAL_MACHINE\Software\Microsoft\FontPath registry key to the directory that you want to use. Do not include a trailing backslash when you specify the path for the directory.

The following example shows how to change the directory from which Windows Embedded CE loads system fonts to \Fonts.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
    "FontPath"="\\Fonts"

See Also

Concepts

Fonts Overview

Other Resources

Fonts OS Design Development