Update fallback fonts to latest releases

This commit is contained in:
DeeJayLSP
2026-01-21 00:01:52 -03:00
parent 78c6632eb1
commit cecdc7fb85
25 changed files with 23 additions and 23 deletions

View File

@@ -198,13 +198,13 @@ void editor_register_fonts(const Ref<Theme> &p_theme) {
TypedArray<Font> fallbacks; TypedArray<Font> fallbacks;
Ref<FontFile> arabic_font = load_internal_font(_font_Vazirmatn_Regular, _font_Vazirmatn_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> arabic_font = load_internal_font(_font_Vazirmatn_Regular, _font_Vazirmatn_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> bengali_font = load_internal_font(_font_NotoSansBengaliUI_Regular, _font_NotoSansBengaliUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> bengali_font = load_internal_font(_font_NotoSansBengali_Regular, _font_NotoSansBengali_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> devanagari_font = load_internal_font(_font_NotoSansDevanagariUI_Regular, _font_NotoSansDevanagariUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> devanagari_font = load_internal_font(_font_NotoSansDevanagari_Regular, _font_NotoSansDevanagari_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> georgian_font = load_internal_font(_font_NotoSansGeorgian_Regular, _font_NotoSansGeorgian_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> georgian_font = load_internal_font(_font_NotoSansGeorgian_Regular, _font_NotoSansGeorgian_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> hebrew_font = load_internal_font(_font_NotoSansHebrew_Regular, _font_NotoSansHebrew_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> hebrew_font = load_internal_font(_font_NotoSansHebrew_Regular, _font_NotoSansHebrew_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> malayalam_font = load_internal_font(_font_NotoSansMalayalamUI_Regular, _font_NotoSansMalayalamUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> malayalam_font = load_internal_font(_font_NotoSansMalayalamUI_Regular, _font_NotoSansMalayalamUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> oriya_font = load_internal_font(_font_NotoSansOriya_Regular, _font_NotoSansOriya_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> oriya_font = load_internal_font(_font_NotoSansOriya_Regular, _font_NotoSansOriya_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> sinhala_font = load_internal_font(_font_NotoSansSinhalaUI_Regular, _font_NotoSansSinhalaUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> sinhala_font = load_internal_font(_font_NotoSansSinhala_Regular, _font_NotoSansSinhala_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> tamil_font = load_internal_font(_font_NotoSansTamilUI_Regular, _font_NotoSansTamilUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> tamil_font = load_internal_font(_font_NotoSansTamilUI_Regular, _font_NotoSansTamilUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> telugu_font = load_internal_font(_font_NotoSansTeluguUI_Regular, _font_NotoSansTeluguUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> telugu_font = load_internal_font(_font_NotoSansTeluguUI_Regular, _font_NotoSansTeluguUI_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
Ref<FontFile> thai_font = load_internal_font(_font_NotoSansThai_Regular, _font_NotoSansThai_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks); Ref<FontFile> thai_font = load_internal_font(_font_NotoSansThai_Regular, _font_NotoSansThai_Regular_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks);
@@ -229,13 +229,13 @@ void editor_register_fonts(const Ref<Theme> &p_theme) {
TypedArray<Font> fallbacks_bold; TypedArray<Font> fallbacks_bold;
Ref<FontFile> arabic_font_bold = load_internal_font(_font_Vazirmatn_Bold, _font_Vazirmatn_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> arabic_font_bold = load_internal_font(_font_Vazirmatn_Bold, _font_Vazirmatn_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> bengali_font_bold = load_internal_font(_font_NotoSansBengaliUI_Bold, _font_NotoSansBengaliUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> bengali_font_bold = load_internal_font(_font_NotoSansBengali_Bold, _font_NotoSansBengali_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> devanagari_font_bold = load_internal_font(_font_NotoSansDevanagariUI_Bold, _font_NotoSansDevanagariUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> devanagari_font_bold = load_internal_font(_font_NotoSansDevanagari_Bold, _font_NotoSansDevanagari_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> georgian_font_bold = load_internal_font(_font_NotoSansGeorgian_Bold, _font_NotoSansGeorgian_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> georgian_font_bold = load_internal_font(_font_NotoSansGeorgian_Bold, _font_NotoSansGeorgian_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> hebrew_font_bold = load_internal_font(_font_NotoSansHebrew_Bold, _font_NotoSansHebrew_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> hebrew_font_bold = load_internal_font(_font_NotoSansHebrew_Bold, _font_NotoSansHebrew_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> malayalam_font_bold = load_internal_font(_font_NotoSansMalayalamUI_Bold, _font_NotoSansMalayalamUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> malayalam_font_bold = load_internal_font(_font_NotoSansMalayalamUI_Bold, _font_NotoSansMalayalamUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> oriya_font_bold = load_internal_font(_font_NotoSansOriya_Bold, _font_NotoSansOriya_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> oriya_font_bold = load_internal_font(_font_NotoSansOriya_Bold, _font_NotoSansOriya_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> sinhala_font_bold = load_internal_font(_font_NotoSansSinhalaUI_Bold, _font_NotoSansSinhalaUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> sinhala_font_bold = load_internal_font(_font_NotoSansSinhala_Bold, _font_NotoSansSinhala_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> tamil_font_bold = load_internal_font(_font_NotoSansTamilUI_Bold, _font_NotoSansTamilUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> tamil_font_bold = load_internal_font(_font_NotoSansTamilUI_Bold, _font_NotoSansTamilUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> telugu_font_bold = load_internal_font(_font_NotoSansTeluguUI_Bold, _font_NotoSansTeluguUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> telugu_font_bold = load_internal_font(_font_NotoSansTeluguUI_Bold, _font_NotoSansTeluguUI_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);
Ref<FontFile> thai_font_bold = load_internal_font(_font_NotoSansThai_Bold, _font_NotoSansThai_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold); Ref<FontFile> thai_font_bold = load_internal_font(_font_NotoSansThai_Bold, _font_NotoSansThai_Bold_size, font_hinting, font_antialiasing, true, font_subpixel_positioning, font_disable_embedded_bitmaps, false, &fallbacks_bold);

View File

@@ -53,21 +53,21 @@ TEST_CASE("[FontFile] Load Dynamic Font - getters") {
Dictionary expected_ot_name_strings; Dictionary expected_ot_name_strings;
Dictionary en_dict; Dictionary en_dict;
en_dict["copyright"] = "Copyright 2022 The Noto Project Authors (https://github.com/notofonts/hebrew)"; en_dict["copyright"] = "Copyright 2024 The Noto Project Authors (https://github.com/notofonts/hebrew)";
en_dict["family_name"] = "Noto Sans Hebrew"; en_dict["family_name"] = "Noto Sans Hebrew";
en_dict["subfamily_name"] = "Regular"; en_dict["subfamily_name"] = "Regular";
en_dict["unique_identifier"] = "3.001;GOOG;NotoSansHebrew-Regular";
en_dict["full_name"] = "Noto Sans Hebrew Regular"; en_dict["full_name"] = "Noto Sans Hebrew Regular";
en_dict["unique_identifier"] = "2.003;GOOG;NotoSansHebrew-Regular"; en_dict["version"] = "Version 3.001";
en_dict["version"] = "Version 2.003";
en_dict["postscript_name"] = "NotoSansHebrew-Regular"; en_dict["postscript_name"] = "NotoSansHebrew-Regular";
en_dict["trademark"] = "Noto is a trademark of Google Inc."; en_dict["trademark"] = "Noto is a trademark of Google Inc.";
en_dict["license"] = "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL"; en_dict["manufacturer"] = "Google LLC";
en_dict["license_url"] = "https://scripts.sil.org/OFL"; en_dict["designer"] = "Ben Nathan";
en_dict["designer"] = "Monotype Design Team"; en_dict["description"] = "Designed by Ben Nathan";
en_dict["designer_url"] = "http://www.monotype.com/studio";
en_dict["description"] = "Designed by Monotype design team.";
en_dict["manufacturer"] = "Monotype Imaging Inc.";
en_dict["vendor_url"] = "http://www.google.com/get/noto/"; en_dict["vendor_url"] = "http://www.google.com/get/noto/";
en_dict["designer_url"] = "https://hafontia.com/";
en_dict["license"] = "This Font Software is licensed under the SIL Open Font License, Version 1.1. This Font Software is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the SIL Open Font License for the specific language, permissions and limitations governing your use of this Font Software.";
en_dict["license_url"] = "http://scripts.sil.org/OFL";
expected_ot_name_strings["en"] = en_dict; expected_ot_name_strings["en"] = en_dict;
CHECK(ff->get_ot_name_strings() == expected_ot_name_strings); CHECK(ff->get_ot_name_strings() == expected_ot_name_strings);

16
thirdparty/README.md vendored
View File

@@ -299,19 +299,19 @@ Patches:
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansBengali*.woff2`: - `NotoSansBengali*.woff2`:
* Upstream: https://github.com/notofonts/bengali * Upstream: https://github.com/notofonts/bengali
* Version: 2.003 (020a5701f6fc6a363d5eccbae45e37714c0ad686, 2022) * Version: 3.011 (85d80394cbbbb798ca0a41c983902e6cf77be3a3, 2026)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansDevanagari*.woff2`: - `NotoSansDevanagari*.woff2`:
* Upstream: https://github.com/notofonts/devanagari * Upstream: https://github.com/notofonts/devanagari
* Version: 2.004 (f8f27e49da0ec9e5e38ecf3628671f05b24dd955, 2023) * Version: 2.006 (bb8d2566a1708ef2dcc6396ee2eb261a18967f76, 2024)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansGeorgian*.woff2`: - `NotoSansGeorgian*.woff2`:
* Upstream: https://github.com/notofonts/georgian * Upstream: https://github.com/notofonts/georgian
* Version: 2.002 (243ec9aa1d4ec58cc42120d30faac1a102fbfeb9, 2022) * Version: 2.005 (c02e5483c2dd63c5cf223845010ebd6e6dc56aec, 2024)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansHebrew*.woff2`: - `NotoSansHebrew*.woff2`:
* Upstream: https://github.com/notofonts/hebrew * Upstream: https://github.com/notofonts/hebrew
* Version: 2.003 (caa7ab0614fb5b37cc003d9bf3d7d3e765331110, 2022) * Version: 3.001 (caa7ab0614fb5b37cc003d9bf3d7d3e765331110, 2024)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansMalayalam*.woff2`: - `NotoSansMalayalam*.woff2`:
* Upstream: https://github.com/notofonts/malayalam * Upstream: https://github.com/notofonts/malayalam
@@ -319,11 +319,11 @@ Patches:
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansOriya*.woff2`: - `NotoSansOriya*.woff2`:
* Upstream: https://github.com/notofonts/oriya * Upstream: https://github.com/notofonts/oriya
* Version: 2.005 (9377f242b247df12d0bf4cecd93b9c4b18036fbd, 2023) * Version: 2.006 (97abab82ec512f8a4a98c389352f194a03385ce2, 2024)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansSinhala*.woff2`: - `NotoSansSinhala*.woff2`:
* Upstream: https://github.com/notofonts/sinhala * Upstream: https://github.com/notofonts/sinhala
* Version: 2.006 (66e5a2ed9797e575222d6e7c5b3710c7bf68be79, 2022) * Version: 3.000 (032355e96de5bac83fd996535af3d13b1fbfeccf, 2025)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansTamil*.woff2`: - `NotoSansTamil*.woff2`:
* Upstream: https://github.com/notofonts/tamil * Upstream: https://github.com/notofonts/tamil
@@ -331,11 +331,11 @@ Patches:
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansTelugu*.woff2`: - `NotoSansTelugu*.woff2`:
* Upstream: https://github.com/notofonts/telugu * Upstream: https://github.com/notofonts/telugu
* Version: 2.004 (68a6a8170cba5b2e9b45029ef36994961e8f614c, 2023) * Version: 2.005 (e97c3409a8347d68cccd06a82a68b418c315ee0c, 2023)
* License: OFL-1.1 * License: OFL-1.1
- `NotoSansThai*.woff2`: - `NotoSansThai*.woff2`:
* Upstream: https://github.com/notofonts/thai * Upstream: https://github.com/notofonts/thai
* Version: 2.001 (09af528011390f35abf15cf86068dae208f512c4, 2022) * Version: 2.002 (f8b482c158650260bba5d5edba9da3e8bb7185b4, 2023)
* License: OFL-1.1 * License: OFL-1.1
- `OpenSans_SemiBold.woff2`: - `OpenSans_SemiBold.woff2`:
* Upstream: https://github.com/googlefonts/opensans * Upstream: https://github.com/googlefonts/opensans

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.