https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b0b81e54e956e979eb783…
commit b0b81e54e956e979eb783f41ff8d4b2dab03939e
Author: Luo Yufan <njlyf2011(a)hotmail.com>
AuthorDate: Fri Dec 14 01:54:13 2018 +0800
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Fri Dec 14 02:54:13 2018 +0900
[SETUP][FONT] Add font substitute of Ubuntu font for CJK
CORE-15179
---
base/setup/lib/muifonts.h | 4 ++++
media/inf/font.inf | 1 +
2 files changed, 5 insertions(+)
diff --git a/base/setup/lib/muifonts.h b/base/setup/lib/muifonts.h
index 81b0962d73..b865a40d4b 100644
--- a/base/setup/lib/muifonts.h
+++ b/base/setup/lib/muifonts.h
@@ -140,6 +140,7 @@ MUI_SUBFONT ChineseSimplifiedFonts[] =
{ L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" },
+ { L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ CSF_LocalName0, L"Droid Sans Fallback" },
{ CSF_LocalName1, L"Droid Sans Fallback" },
@@ -181,6 +182,7 @@ MUI_SUBFONT ChineseTraditionalFonts[] =
{ L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" },
+ { L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ CTF_LocalName0, L"Droid Sans Fallback" },
{ CTF_LocalName1, L"Droid Sans Fallback" },
@@ -220,6 +222,7 @@ MUI_SUBFONT JapaneseFonts[] =
{ L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" },
+ { L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ JF_LocalName0, L"Droid Sans Fallback" },
{ JF_LocalName1, L"Droid Sans Fallback" },
@@ -263,6 +266,7 @@ MUI_SUBFONT KoreanFonts[] =
{ L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" },
+ { L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ KF_LocalName0, L"Droid Sans Fallback" },
{ KF_LocalName1, L"Droid Sans Fallback" },
diff --git a/media/inf/font.inf b/media/inf/font.inf
index 71feb23ef3..62eedd1f49 100644
--- a/media/inf/font.inf
+++ b/media/inf/font.inf
@@ -110,6 +110,7 @@ HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Terminal",0
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Times",0x00000000,"Liberation
Serif"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Times
New Roman",0x00000000,"Liberation Serif"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Tms
Rmn",0x00000000,"Liberation Serif"
+HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Ubuntu",0x00000000,"Droid Sans
Fallback"
[Font.Unicode.Reg]
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\FontSubstitutes","Arial",0x00000000,"DejaVu
Sans"