peter1138@5108: /* $Id$ */ peter1138@5108: peter1138@5108: peter1138@5108: typedef struct DefaultUnicodeMapping { peter1138@5108: WChar code; ///< Unicode value peter1138@5108: byte key; ///< Character index of sprite peter1138@5108: } DefaultUnicodeMapping; peter1138@5108: peter1138@5108: peter1138@5108: /* Default unicode mapping table for sprite based glyphs. peter1138@5108: * This table allows us use unicode characters even though the glyphs don't peter1138@5108: * exist, or are in the wrong place, in the standard sprite fonts. peter1138@5108: * This is not used for FreeType rendering */ peter1138@5108: peter1138@5108: static DefaultUnicodeMapping _default_unicode_map[] = { peter1138@5108: { 0x010D, 0x63 }, /* Small letter c with caron */ peter1138@5108: { 0x0160, 0xA6 }, /* Capital letter s with caron */ peter1138@5108: { 0x0161, 0xA8 }, /* Small letter s with caron */ peter1138@5108: { 0x017E, 0xB8 }, /* Small letter z with caron */ peter1138@5108: { 0x20AC, 0xA4 }, /* Euro symbol */ peter1138@5108: };