[SETUP][FONT] Add font substitute of Ubuntu font for CJK

CORE-15179
This commit is contained in:
Luo Yufan 2018-12-14 01:54:13 +08:00 committed by Katayama Hirofumi MZ
parent fad9f6677a
commit b0b81e54e9
2 changed files with 5 additions and 0 deletions

View file

@ -140,6 +140,7 @@ MUI_SUBFONT ChineseSimplifiedFonts[] =
{ L"Comic Sans MS", L"Ubuntu" }, { L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" }, { L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" }, { L"Palatino Linotype", L"DejaVu Serif" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */ /* localized names */
{ CSF_LocalName0, L"Droid Sans Fallback" }, { CSF_LocalName0, L"Droid Sans Fallback" },
{ CSF_LocalName1, L"Droid Sans Fallback" }, { CSF_LocalName1, L"Droid Sans Fallback" },
@ -181,6 +182,7 @@ MUI_SUBFONT ChineseTraditionalFonts[] =
{ L"Comic Sans MS", L"Ubuntu" }, { L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" }, { L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" }, { L"Palatino Linotype", L"DejaVu Serif" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */ /* localized names */
{ CTF_LocalName0, L"Droid Sans Fallback" }, { CTF_LocalName0, L"Droid Sans Fallback" },
{ CTF_LocalName1, L"Droid Sans Fallback" }, { CTF_LocalName1, L"Droid Sans Fallback" },
@ -220,6 +222,7 @@ MUI_SUBFONT JapaneseFonts[] =
{ L"Comic Sans MS", L"Ubuntu" }, { L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" }, { L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" }, { L"Palatino Linotype", L"DejaVu Serif" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */ /* localized names */
{ JF_LocalName0, L"Droid Sans Fallback" }, { JF_LocalName0, L"Droid Sans Fallback" },
{ JF_LocalName1, L"Droid Sans Fallback" }, { JF_LocalName1, L"Droid Sans Fallback" },
@ -263,6 +266,7 @@ MUI_SUBFONT KoreanFonts[] =
{ L"Comic Sans MS", L"Ubuntu" }, { L"Comic Sans MS", L"Ubuntu" },
{ L"Georgia", L"FreeSerif" }, { L"Georgia", L"FreeSerif" },
{ L"Palatino Linotype", L"DejaVu Serif" }, { L"Palatino Linotype", L"DejaVu Serif" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */ /* localized names */
{ KF_LocalName0, L"Droid Sans Fallback" }, { KF_LocalName0, L"Droid Sans Fallback" },
{ KF_LocalName1, L"Droid Sans Fallback" }, { KF_LocalName1, L"Droid Sans Fallback" },

View file

@ -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",0x00000000,"Liberation Serif"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Times New Roman",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","Tms Rmn",0x00000000,"Liberation Serif"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Ubuntu",0x00000000,"Droid Sans Fallback"
[Font.Unicode.Reg] [Font.Unicode.Reg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Arial",0x00000000,"DejaVu Sans" HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes","Arial",0x00000000,"DejaVu Sans"