https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8a407b5c60eb53fee83a9…
commit 8a407b5c60eb53fee83a9d0a27dd836cfce962ff
Author: Baruch Rutman <peterooch(a)gmail.com>
AuthorDate: Tue Aug 21 18:21:21 2018 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Aug 21 17:21:21 2018 +0200
[FONTS] Update Hebrew font subtitutions (#795)
Updated the font substitutions to use the new Hebrew glyphs in the updated Tahoma
font.
Also added substitution for the Ubuntu font to make the Lautus and Modern themes
legible with Hebrew UI elements.
Follow up to PR #789 and #790 ; CORE-14880, CORE-14943
---
base/setup/usetup/muifonts.h | 13 +++++++------
media/inf/font.inf | 13 +++++++------
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/base/setup/usetup/muifonts.h b/base/setup/usetup/muifonts.h
index e20ef4b45a..1d8e656aa9 100644
--- a/base/setup/usetup/muifonts.h
+++ b/base/setup/usetup/muifonts.h
@@ -80,13 +80,13 @@ MUI_SUBFONT HebrewFonts[] =
{ L"Courier New", L"FreeMono" },
{ L"Fixedsys", L"Fixedsys Excelsior 3.01-L2" },
{ L"Franklin Gothic Medium", L"Libre Franklin" },
- { L"Helv", L"DejaVu Sans" },
- { L"Helvetica", L"DejaVu Sans" },
+ { L"Helv", L"Tahoma" },
+ { L"Helvetica", L"Tahoma" },
{ L"Lucida Console", L"DejaVu Sans Mono" },
- { L"MS Sans Serif", L"DejaVu Sans" },
- { L"MS Shell Dlg", L"DejaVu Sans" },
- { L"MS Shell Dlg 2", L"DejaVu Sans" },
- { L"Tahoma", L"DejaVu Sans" },
+ { L"MS Sans Serif", L"Tahoma" },
+ { L"MS Shell Dlg", L"Tahoma" },
+ { L"MS Shell Dlg 2", L"Tahoma" },
+ { L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times New Roman", L"DejaVu Serif" },
{ L"Trebuchet MS", L"Open Sans" },
@@ -94,6 +94,7 @@ MUI_SUBFONT HebrewFonts[] =
{ L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" },
+ { L"Ubuntu", L"Tahoma" },
{ NULL, NULL }
};
diff --git a/media/inf/font.inf b/media/inf/font.inf
index c85eed194d..71feb23ef3 100644
--- a/media/inf/font.inf
+++ b/media/inf/font.inf
@@ -79,17 +79,18 @@ HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Arial",0x00
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Courier",0x00000000,"FreeMono"
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Courier
New",0x00000000,"FreeMono"
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Fixedsys",0x00000000,"Fixedsys
Excelsior 3.01-L2"
-HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Helv",0x00000000,"DejaVu
Sans"
-HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Helvetica",0x00000000,"DejaVu
Sans"
+HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Helv",0x00000000,"Tahoma"
+HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Helvetica",0x00000000,"Tahoma"
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Lucida Console",0x00000000,"DejaVu
Sans Mono"
-HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS
Sans Serif",0x00000000,"DejaVu Sans"
-HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS
Shell Dlg",0x00000000,"DejaVu Sans"
-HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS
Shell Dlg 2",0x00000000,"DejaVu Sans"
-HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Tahoma",0x00000000,"DejaVu
Sans"
+HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS
Sans Serif",0x00000000,"Tahoma"
+HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS
Shell Dlg",0x00000000,"Tahoma"
+HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","MS
Shell Dlg 2",0x00000000,"Tahoma"
+HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Tahoma",0x00000000,"Tahoma"
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Terminal",0x00000000,"DejaVu Sans
Mono"
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Times",0x00000000,"DejaVu
Serif"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Times
New Roman",0x00000000,"DejaVu Serif"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Tms
Rmn",0x00000000,"DejaVu Serif"
+HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Ubuntu",0x00000000,"Tahoma"
[Font.CJK.Reg]
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Arial",0x00000000,"Liberation
Sans"