gdi32/uniscribe: Add fallback font for Kana and CJK script.

This fixes Chinese and Japanese text display issue for
Sins of a Solar Empire: Rebellion.
This commit is contained in:
Ziqing Hui 2022-11-03 13:04:34 +08:00 committed by Alexandre Julliard
parent 6f8c5195ec
commit b558c87c50

View file

@ -465,7 +465,7 @@ const scriptData scriptInformation[] = {
MS_MAKE_TAG('k','h','m','r'), L"DaunPenh"},
{{Script_CJK_Han, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_ENGLISH, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0},
MS_MAKE_TAG('h','a','n','i'), L""},
MS_MAKE_TAG('h','a','n','i'), L"SimSun"},
{{Script_Ideograph, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_ENGLISH, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0},
MS_MAKE_TAG('h','a','n','i'), L""},
@ -474,7 +474,7 @@ const scriptData scriptInformation[] = {
MS_MAKE_TAG('b','o','p','o'), L""},
{{Script_Kana, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_ENGLISH, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0},
MS_MAKE_TAG('k','a','n','a'), L""},
MS_MAKE_TAG('k','a','n','a'), L"SimSun"},
{{Script_Hangul, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_KOREAN, 0, 1, 0, 1, DEFAULT_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0},
MS_MAKE_TAG('h','a','n','g'), L""},