[FONTS][SETUP][BOOTDATA] Add Times New Roman fonts (#1790)

Add "Times New Roman" fonts. CORE-16272

- Add "Times New Roman" and "Times New Roman Italic" fonts by duplicating "Liberation Serif" fonts and renaming them.
- Delete some "Times New Roman" font substitutes.
- Add LICENSE file.

I made these font files by using FontForge. Their family name is "Times New Roman". Their display names are "Times New Roman", "Times New Roman Bold", "Times New Roman Bold Italic" and "Times New Roman Italic". Their font filenames are times.ttf, timesbd.ttf, timesbi.ttf and timesi.ttf. The Underline Positions are hacked by adding an integer value for workaround of FontForge's bug.
This commit is contained in:
Katayama Hirofumi MZ 2019-08-04 11:22:51 +09:00 committed by GitHub
parent c057a07d79
commit dbb4432b25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 135 additions and 30 deletions

View file

@ -24,14 +24,13 @@ MUI_SUBFONT LatinFonts[] =
{ L"System", L"FreeSans" },
{ L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Open Sans" },
{ NULL, NULL }
};
@ -59,14 +58,13 @@ MUI_SUBFONT CyrillicFonts[] =
{ L"System", L"FreeSans" },
{ L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Open Sans" },
{ NULL, NULL }
};
@ -94,14 +92,13 @@ MUI_SUBFONT GreekFonts[] =
{ L"System", L"FreeSans" },
{ L"Tahoma", L"DejaVu Sans" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Open Sans" },
{ NULL, NULL }
};
@ -130,14 +127,14 @@ MUI_SUBFONT HebrewFonts[] =
{ L"System", L"FreeSans" },
{ L"Tahoma", L"Tahoma" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times", L"DejaVu Serif" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman", L"DejaVu Serif" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"DejaVu Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Open Sans" },
{ L"Ubuntu", L"Tahoma" },
{ NULL, NULL }
@ -178,14 +175,13 @@ MUI_SUBFONT ChineseSimplifiedFonts[] =
{ L"System", 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"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
@ -232,14 +228,13 @@ MUI_SUBFONT ChineseTraditionalFonts[] =
{ L"System", 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"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
@ -284,14 +279,13 @@ MUI_SUBFONT JapaneseFonts[] =
{ L"System", 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"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
@ -340,14 +334,13 @@ MUI_SUBFONT KoreanFonts[] =
{ L"System", 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"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"Liberation Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Droid Sans Fallback" },
{ L"Ubuntu", L"Droid Sans Fallback" },
/* localized names */
@ -385,14 +378,14 @@ MUI_SUBFONT UnicodeFonts[] =
{ L"System", L"FreeSans" },
{ L"Tahoma", L"DejaVu Sans" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times", L"DejaVu Serif" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman", L"DejaVu Serif" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },
{ 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"DejaVu Serif" },
{ L"Tms Rmn", L"Times New Roman" },
{ L"Trebuchet MS", L"Open Sans" },
{ NULL, NULL }
};
@ -422,8 +415,7 @@ MUI_SUBFONT HindiFonts[] =
{ L"System", L"FreeSans" },
{ L"Tahoma", L"FreeSans" },
{ L"Terminal", L"DejaVu Sans Mono" },
{ L"Times", L"Liberation Serif" },
{ L"Times New Roman", L"Liberation Serif" },
{ L"Times", L"Times New Roman" },
{ L"Times New Roman Baltic,186", L"Times New Roman,186" },
{ L"Times New Roman CE,238", L"Times New Roman,238" },
{ L"Times New Roman CYR,204", L"Times New Roman,204" },