src/table/unicode.h
author peter1138
Sat, 10 Mar 2007 09:23:33 +0000
changeset 6606 2e867a1c6b7f
parent 6574 e1d1a12faaf7
child 6872 1c4a4a609f85
child 9724 b39bc69bb2f2
permissions -rw-r--r--
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
/* $Id$ */


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


/* 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 */
};