reactos/base/setup/usetup/muifonts.h
Joachim Henze bd494eafcc [0.4.7][SETUP][BOOTDATA][FONTS][INF][MEDIA][ROSTESTS] Monospaced fonts and substitution
Switches from "FreeMono" and "Dejavu Sans Mono" to "Courier New" and "Lucida Console"
and therefore brings us closer to 2k3sp2 stock fonts. Saves some RAM also.
Deletes some "Ubuntu" font left-overs in some Themes.

CORE-18605 (and partially CORE-16264)

By porting back the following commits:
0.4.15-dev-5362-g c47758b102 [SETUP][INF][MEDIA] Get rid of the last Ubuntu references CORE-18607 (#4871)
0.4.15-dev-5336-g bd40c13f6f [SETUP][BOOTDATA][FONTS][INF] Delete DejaVu Sans Mono and re-map (#4856)
0.4.15-dev-5335-g a4193ade03 [SETUP][FONTS][INF][GDI32_APITEST] Delete FreeMono and re-map (#4852)
0.4.15-dev-5324-g d035452148 [SETUP][INF][ROSTESTS] Delete font substitutions and tests for "DejaVu Sans" (#4829)
0.4.13-dev-768-g dc1aa8010a [FONTS][SETUP][BOOTDATA] Add Lucida Console font (#1793) CORE-16264
0.4.13-dev-750-g faa3237d46 [FONTS][BOOTDATA][SETUP] Add Courier New fonts (#1783)
2023-01-06 09:57:25 +01:00

356 lines
17 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"Franklin Gothic Medium", L"Libre Franklin Bold" },
{ L"Helv", L"Tahoma" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ 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"Franklin Gothic Medium", L"Libre Franklin" },
{ L"Helv", L"Tahoma" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ 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"Franklin Gothic Medium", L"Libre Franklin" },
{ L"Helv", L"Tahoma" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ 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"Franklin Gothic Medium", L"Libre Franklin" },
{ L"Helv", L"Tahoma" },
{ L"Helvetica", L"Arial" },
{ L"MS Sans Serif", L"Tahoma" },
{ L"MS Shell Dlg", L"Tahoma" },
{ L"MS Shell Dlg 2", L"Tahoma" },
{ 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};
WCHAR CSF_LocalName1[] = {0x65B0, 0x5B8B, 0x4F53, 0};
WCHAR CSF_LocalName2[] = {0x4E2D, 0x6613, 0x5B8B, 0x4F53, 0};
WCHAR CSF_LocalName3[] = {'M', 'S', 0x5B8B, 0x4F53, 0};
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"Franklin Gothic Medium", L"Droid Sans Fallback" },
{ L"Helv", L"Droid Sans Fallback" },
{ 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"SimHei", L"Droid Sans Fallback" },
{ L"SimSun", L"Droid Sans Fallback" },
{ L"System", L"Droid Sans Fallback" },
{ L"Tahoma", 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" },
{ NULL, NULL }
};
WCHAR CTF_LocalName0[] = {0x7D30, 0x660E, 0x9AD4, 0};
WCHAR CTF_LocalName1[] = {0x65B0, 0x7D30, 0x660E, 0x9AD4, 0};
WCHAR CTF_LocalName2[] = {0x83EF, 0x5EB7, 0x4E2D, 0x660E, 0x9AD4, 0};
WCHAR CTF_LocalName3[] = {0x83EF, 0x5EB7, 0x7C97, 0x660E, 0x9AD4, 0};
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"Droid Sans Fallback" },
{ 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"System", L"Droid Sans Fallback" },
{ L"Tahoma", 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" },
/* 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};
WCHAR JF_LocalName1[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x660E, 0x671D, 0};
WCHAR JF_LocalName2[] = {0xFF2D, 0xFF33, ' ', 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0};
WCHAR JF_LocalName3[] = {0xFF2D, 0xFF33, ' ', 0xFF30, 0x30B4, 0x30B7, 0x30C3, 0x30AF, 0};
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"Droid Sans Fallback" },
{ 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"System", L"Droid Sans Fallback" },
{ L"Tahoma", 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" },
/* 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};
WCHAR KF_LocalName1[] = {0xBC14, 0xD0D5, 0xCCB4, 0};
WCHAR KF_LocalName2[] = {0xAD81, 0xC11C, 0};
WCHAR KF_LocalName3[] = {0xAD81, 0xC11C, 0xCCB4, 0};
WCHAR KF_LocalName4[] = {0xAD74, 0xB9BC, 0};
WCHAR KF_LocalName5[] = {0xAD74, 0xB9BC, 0xCCB4, 0};
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"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"Droid Sans Fallback" },
{ 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"System", L"Droid Sans Fallback" },
{ L"Tahoma", 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" },
/* 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" },
{ 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"Franklin Gothic Medium", L"Libre Franklin Bold" },
{ L"Helvetica", 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 }
};