win32u: Add font link for MS UI Gothic.

Win10 has font link for most of the system default fonts,
including MS UI Gothic. This fixes Korean text display issue
for Romance of the There Kindoms XIII.
This commit is contained in:
Ziqing Hui 2022-10-15 12:32:09 +08:00 committed by Alexandre Julliard
parent a9cc68336c
commit 71b1e636ec

View file

@ -1581,6 +1581,16 @@ static const char system_link_tahoma_non_cjk[] =
"SIMSUN.TTC,SimSun\0"
"GULIM.TTC,Gulim\0";
static const char system_link_ms_ui_gothic[] =
"MICROSS.TTF,Microsoft Sans Serif\0"
"MINGLIU.TTC,PMingLiU\0""SIMSUN.TTC,SimSun\0"
"GULIM.TTC,Gulim\0"
"YUGOTHM.TTC,Yu Gothic UI\0"
"MSJH.TTC,Microsoft JhengHei UI\0"
"MSYH.TTC,Microsoft YaHei UI\0"
"MALGUN.TTF,Malgun Gothic\0"
"SEGUISYM.TTF,Segoe UI Symbol\0";
static const struct system_link_reg
{
const WCHAR *font_name;
@ -1621,6 +1631,14 @@ default_system_link[] =
system_link_tahoma_kr, sizeof(system_link_tahoma_kr),
system_link_tahoma_non_cjk, sizeof(system_link_tahoma_non_cjk),
},
{
ms_ui_gothicW,
system_link_ms_ui_gothic, sizeof(system_link_ms_ui_gothic),
system_link_ms_ui_gothic, sizeof(system_link_ms_ui_gothic),
system_link_ms_ui_gothic, sizeof(system_link_ms_ui_gothic),
system_link_ms_ui_gothic, sizeof(system_link_ms_ui_gothic),
system_link_ms_ui_gothic, sizeof(system_link_ms_ui_gothic),
},
};
static void populate_system_links( const WCHAR *name, const WCHAR * const *values )