Enabling EUDC

Although Windows 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\Eudc registry key.

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

SystemDefaultEUDCFont=\windows\eudc.tte 

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

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

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

Creating End User Defined Characters | Enabling Asian Line Breaking

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.