Korean font change

change korean font from malgun to gulim.
I tested it is displayed correctly in korean os. See http://file.telk.kr/rct/img/gulim.png
This commit is contained in:
TELK 2015-11-17 00:56:22 +09:00
parent aacde9ddc3
commit 3889f5daad
1 changed files with 9 additions and 2 deletions

View File

@ -60,13 +60,20 @@ static TTFFontSetDescriptor TTFFontSimSun = {{
{ "simsun.ttc", 12, 1, -2, 14, nullptr },
{ "simsun.ttc", 13, 1, 0, 20, nullptr },
}};
/*
static TTFFontSetDescriptor TTFFontMalgun = {{
{ "malgun.ttf", 8, -1, -3, 6, nullptr },
{ "malgun.ttf", 11, 1, -2, 14, nullptr },
{ "malgun.ttf", 12, 1, -4, 14, nullptr },
{ "malgun.ttf", 13, 1, 0, 20, nullptr },
}};
*/
static TTFFontSetDescriptor TTFFontGulim = {{
{ "gulim.ttc", 11, 1, 0, 15, nullptr },
{ "gulim.ttc", 12, 1, 0, 17, nullptr },
{ "gulim.ttc", 12, 1, 0, 17, nullptr },
{ "gulim.ttc", 13, 1, 0, 20, nullptr },
}};
static TTFFontSetDescriptor TTFFontArial = {{
{ "arial.ttf", 8, 0, -1, 6, nullptr },
@ -91,7 +98,7 @@ const language_descriptor LanguagesDescriptors[LANGUAGE_COUNT] = {
{ "zh-Hant", "Chinese (Traditional)", "Chinese (Traditional)", "chinese_traditional", &TTFFontMingLiu, RCT2_LANGUAGE_ID_CHINESE_TRADITIONAL }, // LANGUAGE_CHINESE_TRADITIONAL
{ "zh-Hans", "Chinese (Simplified)", "Chinese (Simplified)", "chinese_simplified", &TTFFontSimSun, RCT2_LANGUAGE_ID_CHINESE_SIMPLIFIED }, // LANGUAGE_CHINESE_SIMPLIFIED
{ "fi-FI", "Finnish", "Suomi", "finnish", FONT_OPENRCT2_SPRITE, RCT2_LANGUAGE_ID_ENGLISH_UK }, // LANGUAGE_FINNISH
{ "ko", "Korean", "Korean", "korean", &TTFFontMalgun, RCT2_LANGUAGE_ID_KOREAN }, // LANGUAGE_KOREAN
{ "ko", "Korean", "Korean", "korean", &TTFFontGulim, RCT2_LANGUAGE_ID_KOREAN }, // LANGUAGE_KOREAN
{ "ru-RU", "Russian", "Russian", "russian", &TTFFontArial, RCT2_LANGUAGE_ID_ENGLISH_UK }, // LANGUAGE_RUSSIAN
{ "cz-CZ", "Czech", "Czech", "czech", &TTFFontArial, RCT2_LANGUAGE_ID_ENGLISH_UK }, // LANGUAGE_CZECH
};