LanguageUtil.inc
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:4k
- typedef struct
- {
- const FontInfo* pFontInfo;
- const BYTE* pFontData;
- UINT8 uiCompressed;
- } FontEntryType;
- // **************************************************************************************** //
- static const FontEntryType g_aFontEntryTable[] =
- {
- #ifdef USE_BIG5_FONT
- { &g_Big5FontInfo, JMT_BIG5_12X12_FONT_BITMAP, FALSE },
- #endif
- #ifdef USE_BIG5_FONT_COMPRESSED
- { &g_Big5FontInfo, font_BIG5_compressed, TRUE },
- #endif
- #ifdef USE_BIG5_FONT_FROM_EXTERNAL
- { &g_Big5FontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef USE_BIG5_COMMON_FONT
- { &g_Big5CommonFontInfo, JMT_BIG5_12X12_FONT_BITMAP_COMMON, FALSE },
- #endif
- #ifdef USE_BIG5_COMMON_FONT_COMPRESSED
- { &g_Big5CommonFontInfo, font_BIG5_common_compressed, TRUE },
- #endif
- #ifdef USE_BIG5_COMMON_FONT_FROM_EXTERNAL
- { &g_Big5CommonFontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef USE_GB2312_FONT
- { &g_GBFontInfo, GUO_GB2312_12X12_FONT_BITMAP, FALSE },
- #endif
- #ifdef USE_GB2312_FONT_COMPRESSED
- { &g_GBFontInfo, font_GB2312_compressed, TRUE },
- #endif
- #ifdef USE_GB2312_FONT_FROM_EXTERNAL
- { &g_GBFontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef USE_JAPANESE_FONT
- { &g_JISFontInfo, JP_JISX0213_12X12_FONT_BITMAP, FALSE },
- #endif
- #ifdef USE_JAPANESE_FONT_COMPRESSED
- { &g_JISFontInfo, font_JIS_compressed, TRUE },
- #endif
- #ifdef USE_JAPANESE_FONT_FROM_EXTERNAL
- { &g_JISFontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef USE_KOREAN_FONT
- { &g_KSCFontInfo, KO_KSC_12X12_FONT_BITMAP, FALSE },
- #endif
- #ifdef USE_KOREAN_FONT_COMPRESSED
- { &g_KSCFontInfo, font_KSC_compressed, TRUE },
- #endif
- #ifdef USE_KOREAN_FONT_FROM_EXTERNAL
- { &g_KSCFontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef USE_RUSSIAN_LANGUAGE
- { &g_RussianFontInfo, GUO_GB2312_Russian_12X12_FONT_BITMAP, FALSE },
- #endif
- #ifdef USE_RUSSIAN_LANGUAGE_COMPRESSED
- { &g_RussianFontInfo, font_Russian_compressed, TRUE },
- #endif
- #ifdef USE_RUSSIAN_LANGUAGE_FROM_EXTERNAL
- { &g_RussianFontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef EUROPE_FOREIGN_LANGUAGES
- { &g_8859_1FontInfo, ISO_8859_1_12X24_FONT_BITMAP, FALSE },
- #endif
- #ifdef EUROPE_FOREIGN_LANGUAGES_COMPRESSED
- { &g_8859_1FontInfo, font_ISO_8859_1_compressed, TRUE },
- #endif
- #ifdef EUROPE_FOREIGN_LANGUAGES_FROM_EXTERNAL
- { &g_8859_1FontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef MIDDLE_EUROPE_LANGUAGES
- { &g_8859_2FontInfo, ISO_8859_2_12X24_FONT_BITMAP, FALSE },
- #endif
- #ifdef MIDDLE_EUROPE_LANGUAGES_COMPRESSED
- { &g_8859_2FontInfo, font_ISO_8859_2_compressed, TRUE },
- #endif
- #ifdef MIDDLE_EUROPE_LANGUAGES_FROM_EXTERNAL
- { &g_8859_2FontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- // **************************************************************************************** //
- #ifdef SUPPORT_TURKISH_LANGUAGES
- { &g_8859_9FontInfo, ISO_8859_9_12X24_FONT_BITMAP, FALSE },
- #endif
- #ifdef SUPPORT_TURKISH_LANGUAGES_COMPRESSED
- { &g_8859_9FontInfo, font_ISO_8859_9_compressed, TRUE },
- #endif
- #ifdef SUPPORT_TURKISH_LANGUAGES_FROM_EXTERNAL
- { &g_8859_9FontInfo, (BYTE*)FONT_DATA_YA, FALSE },
- #endif
- };