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

Although Windows Embedded CE defines thousands of characters, you may need to define your own set of characters. You can use end-user-defined characters (EUDC) to define a character or glyph for a device. For example, you can use EUDC to represent proper names that use Asian characters.

To enable EUDC, create subkeys to associate a font with an EUDC set. You can create these subkeys under the HKEY_CURRENT_USER\Eudcregistry key.

To install a system-wide EUDC font, modify the SystemDefaultEUDCFont=\windows\ xxxx .tteentry. The following example shows how to associate the system default EUDC font with all fonts that do not have any other EUDC associations.

Copy Code
SystemDefaultEUDCFont=\windows\eudc.tte 

To set the size of the glyph cache, use the HKEY_LOCAL_MACHINE\System\Gdi\Glyphcacheregistry key. This key is read only when the OS boots.

The following example shows how to set the size of the glyph cache.

Copy Code
HKEY_LOCAL_MACHINE\System\Gdi\Glyphcache
	"limit"=DWORD:x

The value specified for the limit is the size in bytes of the glyph cache per realized font. This number is automatically multiplied by 4 for antialiased fonts.

A realized font is any unique combination of font, height, weight, and effects (for example, outline or emboss). A font is realized the first time an application uses it for drawing, and is unrealized when the application deletes the HFONT.

See Also