table/unicode.h
author KUDr
Sun, 31 Dec 2006 12:28:51 +0000
branchcustombridgeheads
changeset 5612 5e103bb5236d
parent 5108 dc67d70b5a45
permissions -rw-r--r--
(svn r7697) [cbh] - Cleanup of r7687 changes
/* $Id$ */


typedef struct DefaultUnicodeMapping {
	WChar code; ///< Unicode value
	byte key;   ///< Character index of sprite
} DefaultUnicodeMapping;


/* Default unicode mapping table for sprite based glyphs.
 * This table allows us use unicode characters even though the glyphs don't
 * exist, or are in the wrong place, in the standard sprite fonts.
 * This is not used for FreeType rendering */

static DefaultUnicodeMapping _default_unicode_map[] = {
	{ 0x010D, 0x63 }, /* Small letter c with caron */
	{ 0x0160, 0xA6 }, /* Capital letter s with caron */
	{ 0x0161, 0xA8 }, /* Small letter s with caron */
	{ 0x017E, 0xB8 }, /* Small letter z with caron */
	{ 0x20AC, 0xA4 }, /* Euro symbol */
};