reactos/base/setup/lib/muifonts.h
Katayama Hirofumi MZ 0f9e889736
[NTGDI][FREETYPE][SETUP][INF] Support FontLink (#7009)
If East Asian people were unable
to see the Latin characters, it
becomes a barrier to mutual
understanding.
FontLink will break that barrier.
JIRA issue: CORE-9616
JIRA issue: CORE-15480
- Modify font substitutes.
- Unify the lock variables.
- Add FONTLINK and
  FONTLINK_CHAIN structures.
- Add FontLink_Create and
  FontLink_Destroy functions.
- Add FontLink_Chain_Init,
  FontLink_Chain_Free,
  FontLink_Chain_LoadReg,
  FontLink_Chain_Populate, and
  FontLink_Chain_FindGlyph
  functions.
- Implement FontLink.
- Add font file DroidSansFallback.ttf
  for LiveCD.
2024-06-30 22:15:34 +09:00

488 lines
21 KiB
C

#pragma once
MUI_SUBFONT LatinFonts[] =
{
/*Font Substitute */
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"System", L"FreeSans" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ NULL, NULL }
};
MUI_SUBFONT CyrillicFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"System", L"FreeSans" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ NULL, NULL }
};
MUI_SUBFONT GreekFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"System", L"FreeSans" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ NULL, NULL }
};
MUI_SUBFONT HebrewFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"System", L"FreeSans" },
{ L"Terminal", L"Courier New" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ NULL, NULL }
};
WCHAR CSF_LocalName0[] = {0x5B8B, 0x4F53, 0}; /* SimSun */
WCHAR CSF_LocalName1[] = {0x4E2D, 0x6613, 0x5B8B, 0x4F53, 0}; /* SimSun */
WCHAR CSF_LocalName2[] = {0x65B0, 0x5B8B, 0x4F53, 0}; /* NSimSun */
WCHAR CSF_LocalName3[] = {0xFC4B, 0x91CC, 0}; /* SimHei */
WCHAR CSF_LocalName4[] = {'M', 'S', 0x5B8B, 0x4F53, 0}; /* MS Song */
MUI_SUBFONT ChineseSimplifiedFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Droid Sans Fallback" },
{ L"MS Shell Dlg", L"Droid Sans Fallback" },
{ L"MS Shell Dlg 2", L"Droid Sans Fallback" },
{ L"MS Song", L"Droid Sans Fallback" },
{ L"MS UI Gothic", L"Droid Sans Fallback" },
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"NSimSun", L"Droid Sans Fallback" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"SimHei", L"Droid Sans Fallback" },
{ L"SimSun", L"Droid Sans Fallback" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
/* localized names */
{ CSF_LocalName0, L"Droid Sans Fallback" },
{ CSF_LocalName1, L"Droid Sans Fallback" },
{ CSF_LocalName2, L"Droid Sans Fallback" },
{ CSF_LocalName3, L"Droid Sans Fallback" },
{ CSF_LocalName4, L"Droid Sans Fallback" },
{ NULL, NULL }
};
WCHAR CTF_LocalName0[] = {0x7D30, 0x660E, 0x9AD4, 0}; /* MingLiU */
WCHAR CTF_LocalName1[] = {0x65B0, 0x7D30, 0x660E, 0x9AD4, 0}; /* PMingLiU */
WCHAR CTF_LocalName2[] = {0x83EF, 0x5EB7, 0x4E2D, 0x660E, 0x9AD4, 0}; /* DLCMingMedium */
WCHAR CTF_LocalName3[] = {0x83EF, 0x5EB7, 0x7C97, 0x660E, 0x9AD4, 0}; /* DLCMingBold */
MUI_SUBFONT ChineseTraditionalFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"DLCMingBold", L"Droid Sans Fallback" },
{ L"DLCMingMedium", L"Droid Sans Fallback" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Droid Sans Fallback" },
{ L"MS Shell Dlg", L"Droid Sans Fallback" },
{ L"MS Shell Dlg 2", L"Droid Sans Fallback" },
{ L"MS UI Gothic", L"Droid Sans Fallback" },
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Ming Light", L"Droid Sans Fallback" },
{ L"MingLiU", L"Droid Sans Fallback" },
{ L"PMingLiU", L"Droid Sans Fallback" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
/* localized names */
{ CTF_LocalName0, L"Droid Sans Fallback" },
{ CTF_LocalName1, L"Droid Sans Fallback" },
{ CTF_LocalName2, L"Droid Sans Fallback" },
{ CTF_LocalName3, L"Droid Sans Fallback" },
{ NULL, NULL }
};
WCHAR JF_LocalName0[] = {0xFF2D, 0xFF33, ' ', 0x660E, 0x671D, 0}; /* MS Mincho */
WCHAR JF_LocalName1[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x660E, 0x671D, 0}; /* MS PMincho */
WCHAR JF_LocalName2[] = {0xFF2D, 0xFF33, ' ', 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0}; /* MS Gothic */
WCHAR JF_LocalName3[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0}; /* MS PGothic */
MUI_SUBFONT JapaneseFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Gothic", L"Droid Sans Fallback" },
{ L"MS Mincho", L"Droid Sans Fallback" },
{ L"MS PGothic", L"Droid Sans Fallback" },
{ L"MS PMincho", L"Droid Sans Fallback" },
{ L"MS Sans Serif", L"Droid Sans Fallback" },
{ L"MS Shell Dlg", L"Droid Sans Fallback" },
{ L"MS Shell Dlg 2", L"Droid Sans Fallback" },
{ L"MS UI Gothic", L"Droid Sans Fallback" },
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
/* localized names */
{ JF_LocalName0, L"Droid Sans Fallback" },
{ JF_LocalName1, L"Droid Sans Fallback" },
{ JF_LocalName2, L"Droid Sans Fallback" },
{ JF_LocalName3, L"Droid Sans Fallback" },
{ NULL, NULL }
};
WCHAR KF_LocalName0[] = {0xBC14, 0xD0D5, 0}; /* Batang */
WCHAR KF_LocalName1[] = {0xBC14, 0xD0D5, 0xCCB4, 0}; /* BatangChe */
WCHAR KF_LocalName2[] = {0xB3CB, 0xC6C0, 0}; /* Dotum */
WCHAR KF_LocalName3[] = {0xB3CB, 0xC6C0, 0xCCB4, 0}; /* DotumChe */
WCHAR KF_LocalName4[] = {0xAD74, 0xB9BC, 0}; /* Gulim */
WCHAR KF_LocalName5[] = {0xAD74, 0xB9BC, 0xCCB4, 0}; /* GulimChe */
WCHAR KF_LocalName6[] = {0xAD81, 0xC11C, 0}; /* Gungsuh */
WCHAR KF_LocalName7[] = {0xAD81, 0xC11C, 0xCCB4, 0}; /* GungsuhChe */
MUI_SUBFONT KoreanFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Batang", L"Droid Sans Fallback" },
{ L"BatangChe", L"Droid Sans Fallback" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Dotum", L"Droid Sans Fallback" },
{ L"DotumChe", L"Droid Sans Fallback" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Gulim", L"Droid Sans Fallback" },
{ L"GulimChe", L"Droid Sans Fallback" },
{ L"Gungsuh", L"Droid Sans Fallback" },
{ L"GungsuhChe", L"Droid Sans Fallback" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Droid Sans Fallback" },
{ L"MS Shell Dlg", L"Droid Sans Fallback" },
{ L"MS Shell Dlg 2", L"Droid Sans Fallback" },
{ L"MS UI Gothic", L"Droid Sans Fallback" },
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
/* localized names */
{ KF_LocalName0, L"Droid Sans Fallback" },
{ KF_LocalName1, L"Droid Sans Fallback" },
{ KF_LocalName2, L"Droid Sans Fallback" },
{ KF_LocalName3, L"Droid Sans Fallback" },
{ KF_LocalName4, L"Droid Sans Fallback" },
{ KF_LocalName5, L"Droid Sans Fallback" },
{ KF_LocalName6, L"Droid Sans Fallback" },
{ KF_LocalName7, L"Droid Sans Fallback" },
{ NULL, NULL }
};
MUI_SUBFONT UnicodeFonts[] =
{
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helvetica", L"Arial" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"System", L"FreeSans" },
{ L"Terminal", L"Courier New" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ NULL, NULL }
};
MUI_SUBFONT HindiFonts[] =
{
/*Font Substitute */
{ L"Arial Baltic,186", L"Arial,186" },
{ L"Arial CE,238", L"Arial,238" },
{ L"Arial CYR,204", L"Arial,204" },
{ L"Arial Greek,161", L"Arial,161" },
{ L"Arial TUR,162", L"Arial,162" },
{ L"Courier", L"Courier New" },
{ L"Courier New Baltic,186", L"Courier New,186" },
{ L"Courier New CE,238", L"Courier New,238" },
{ L"Courier New CYR,204", L"Courier New,204" },
{ L"Courier New Greek,161", L"Courier New,161" },
{ L"Courier New TUR,162", L"Courier New,162" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Helv", L"MS Sans Serif" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"FreeSans" },
{ L"MS Shell Dlg", L"FreeSans" },
{ L"MS Shell Dlg 2", L"FreeSans" },
{ L"Palatino Linotype", L"FreeSans" },
{ L"Segoe UI Symbol", L"Arial" },
{ L"System", L"FreeSans" },
{ L"Tahoma", L"FreeSans" },
{ L"Terminal", L"Lucida Console" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ L"Times New Roman Greek,161", L"Times New Roman,161" },
{ L"Times New Roman TUR,162", L"Times New Roman,162" },
{ L"Tms Rmn", L"Times New Roman" },
{ NULL, NULL }
};
MUI_SUBFONT SimplifiedChineseFontFixup[] =
{
{ L"MS Shell Dlg", L"SimSun" },
{ L"Tahoma", L"SimSun" },
{ NULL, NULL }
};
MUI_SUBFONT TraditionalChineseFontFixup[] =
{
{ L"MS Shell Dlg", L"PMingLiU" },
{ L"Tahoma", L"PMingLiU" },
{ NULL, NULL }
};
MUI_SUBFONT JapaneseFontFixup[] =
{
{ L"MS Shell Dlg", L"MS UI Gothic" },
{ L"Tahoma", L"MS UI Gothic" },
{ NULL, NULL }
};
MUI_SUBFONT KoreanFontFixup[] =
{
{ L"MS Shell Dlg", L"Batang" },
{ L"Tahoma", L"Batang" },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupMINGLIU[] =
{
{ L"MingLiU", NULL },
{ L"PMingLiU", NULL },
{ CTF_LocalName0, NULL },
{ CTF_LocalName1, NULL },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupSIMSUN[] =
{
{ L"NSimSun", NULL },
{ L"SimSun", NULL },
{ CSF_LocalName0, NULL },
{ CSF_LocalName1, NULL },
{ CSF_LocalName2, NULL },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupMSSONG[] =
{
{ L"MS Song", NULL },
{ CSF_LocalName4, NULL },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupMSGOTHIC[] =
{
{ L"MS Gothic", NULL },
{ L"MS PGothic", NULL },
{ L"MS UI Gothic", NULL },
{ JF_LocalName2, NULL },
{ JF_LocalName3, NULL },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupMSMINCHO[] =
{
{ L"MS Mincho", NULL },
{ L"MS PMincho", NULL },
{ JF_LocalName0, NULL },
{ JF_LocalName1, NULL },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupGULIM[] =
{
{ L"Gulim", NULL },
{ L"GulimChe", NULL },
{ KF_LocalName4, NULL },
{ KF_LocalName5, NULL },
{ NULL, NULL }
};
MUI_SUBFONT FontFixupBATANG[] =
{
{ L"Batang", NULL},
{ L"BatangChe", NULL},
{ KF_LocalName0, NULL},
{ KF_LocalName1, NULL},
{ NULL, NULL }
};