Files
@ r5222:671cdc6f4c1e
Branch filter:
Location: cpp/openttd-patchpack/source/table/unicode.h - annotation
r5222:671cdc6f4c1e
705 B
text/x-c
(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty
messy if you ask me, but this is what you get when MS hides the font API in the deepest
depths... thanks Rubidium for testing.
messy if you ask me, but this is what you get when MS hides the font API in the deepest
depths... thanks Rubidium for testing.
r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 r5108:28640689af54 | /* $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 */
};
|