https://git.reactos.org/?p=reactos.git;a=commitdiff;h=56583f306959a506be294…
commit 56583f306959a506be2940bb340ed882bfee5f5b
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Aug 30 20:07:22 2018 +0900
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Aug 30 13:07:22 2018 +0200
[FONT][SETUP] Add 'Tms Rmn' and 'Times' font substitutes (#830)
Add "Tms Rmn" and "Times" font substitutes (same as "Times
New Roman"). Windows has these substitutes, hence we also need those to remain
compatible.
---
base/setup/usetup/muifonts.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/base/setup/usetup/muifonts.h b/base/setup/usetup/muifonts.h
index 1d8e656aa9..2ec8aad7f8 100644
--- a/base/setup/usetup/muifonts.h
+++ b/base/setup/usetup/muifonts.h
@@ -16,7 +16,9 @@ MUI_SUBFONT LatinFonts[] =
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"System", L"FreeSans" },
{ L"Comic Sans MS", L"Ubuntu" },
@@ -40,7 +42,9 @@ MUI_SUBFONT CyrillicFonts[] =
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"System", L"FreeSans" },
{ L"Comic Sans MS", L"Ubuntu" },
@@ -64,7 +68,9 @@ MUI_SUBFONT GreekFonts[] =
{ L"MS Shell Dlg 2", L"DejaVu Sans" },
{ L"Tahoma", L"DejaVu Sans" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"System", L"FreeSans" },
{ L"Comic Sans MS", L"Ubuntu" },
@@ -88,7 +94,9 @@ MUI_SUBFONT HebrewFonts[] =
{ L"MS Shell Dlg 2", L"Tahoma" },
{ L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"DejaVu Serif" },
{ L"Times New Roman", L"DejaVu Serif" },
+ { L"Tms Rmn", L"DejaVu Serif" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"System", L"FreeSans" },
{ L"Comic Sans MS", L"Ubuntu" },
@@ -120,7 +128,9 @@ MUI_SUBFONT ChineseSimplifiedFonts[] =
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Tahoma", L"Droid Sans Fallback" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"SimSun", L"Droid Sans Fallback" },
{ L"NSimSun", L"Droid Sans Fallback" },
@@ -159,7 +169,9 @@ MUI_SUBFONT ChineseTraditionalFonts[] =
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Tahoma", L"Droid Sans Fallback" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"Ming Light", L"Droid Sans Fallback" },
{ L"MingLiU", L"Droid Sans Fallback" },
{ L"PMingLiU", L"Droid Sans Fallback" },
@@ -197,7 +209,9 @@ MUI_SUBFONT JapaneseFonts[] =
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Tahoma", L"Droid Sans Fallback" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"MS Mincho", L"Droid Sans Fallback" },
{ L"MS PMincho", L"Droid Sans Fallback" },
{ L"MS Gothic", L"Droid Sans Fallback" },
@@ -236,7 +250,9 @@ MUI_SUBFONT KoreanFonts[] =
{ L"MS UI Gothic 2", L"Droid Sans Fallback" },
{ L"Tahoma", L"Droid Sans Fallback" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
+ { L"Tms Rmn", L"Liberation Serif" },
{ L"Batang", L"Droid Sans Fallback" },
{ L"BatangChe", L"Droid Sans Fallback" },
{ L"Gungsuh", L"Droid Sans Fallback" },
@@ -272,7 +288,9 @@ MUI_SUBFONT UnicodeFonts[] =
{ L"MS Shell Dlg 2", L"DejaVu Sans" },
{ L"Tahoma", L"DejaVu Sans" },
{ L"Terminal", L"DejaVu Sans Mono" },
+ { L"Times", L"DejaVu Serif" },
{ L"Times New Roman", L"DejaVu Serif" },
+ { L"Tms Rmn", L"DejaVu Serif" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"System", L"FreeSans" },
{ L"Comic Sans MS", L"Ubuntu" },