[SETUP][INF][MEDIA] Get rid of the last Ubuntu references CORE-18607 (#4871)

An addendum to 0.4.14-dev-20-g 2f4fb903b4
because since then we don't have the Ubuntu font anymore.

The substitutes are also not needed any longer.
We can use Tahoma here without causing any change in the current rendering,
because for all languages the former
Ubuntu substitutions did point either to Tahoma,
or to the same thing, that Tahoma atm points to
(for those language that do require additional glyphs).

This way we do not only get the substitutions closer to 2k3sp2, but will also
simplify our maintenance and testing, because the same font is guaranteed to be used then
for all themes: Classic, Blackshade and Lautus: The font which has the needed glyphs for
that specific language.

E.g.
"FreeSans" for Hindi,
"Tahoma" for most Western languages, and
"Droid Sans Fallback" for Chinese and Japanese language.

Things are cleaner and simpler this way.
This commit is contained in:
Joachim Henze 2022-11-12 12:44:54 +01:00 committed by GitHub
parent 0bc6bd6480
commit c47758b102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 306 additions and 313 deletions

View file

@ -122,7 +122,6 @@ MUI_SUBFONT HebrewFonts[] =
{ 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"Ubuntu", L"Tahoma" },
{ NULL, NULL }
};
@ -169,7 +168,6 @@ MUI_SUBFONT ChineseSimplifiedFonts[] =
{ 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" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ CSF_LocalName0, L"Droid Sans Fallback" },
{ CSF_LocalName1, L"Droid Sans Fallback" },
@ -222,7 +220,6 @@ MUI_SUBFONT ChineseTraditionalFonts[] =
{ 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" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ CTF_LocalName0, L"Droid Sans Fallback" },
{ CTF_LocalName1, L"Droid Sans Fallback" },
@ -273,7 +270,6 @@ MUI_SUBFONT JapaneseFonts[] =
{ 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" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ JF_LocalName0, L"Droid Sans Fallback" },
{ JF_LocalName1, L"Droid Sans Fallback" },
@ -328,7 +324,6 @@ MUI_SUBFONT KoreanFonts[] =
{ 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" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
{ KF_LocalName0, L"Droid Sans Fallback" },
{ KF_LocalName1, L"Droid Sans Fallback" },