Specifying the Directory for Font Loading

Windows CE loads system fonts from the \Windows directory on the device by default. You can specify the directory from which Windows 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 CE loads system fonts to \Fonts.

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

See Also

Customizing Fonts | Fonts Implementation Considerations | Fonts

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.