diff --git a/editor/themes/editor_fonts.cpp b/editor/themes/editor_fonts.cpp index feee442396..ced58b7d2b 100644 --- a/editor/themes/editor_fonts.cpp +++ b/editor/themes/editor_fonts.cpp @@ -198,13 +198,13 @@ void editor_register_fonts(const Ref &p_theme) { TypedArray fallbacks; Ref 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 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 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 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 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 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 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 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 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 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 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 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 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 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 &p_theme) { TypedArray fallbacks_bold; Ref 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 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 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 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 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 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 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 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 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 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 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 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 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 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); diff --git a/tests/scene/test_fontfile.h b/tests/scene/test_fontfile.h index c9e57e8eb5..8571831b90 100644 --- a/tests/scene/test_fontfile.h +++ b/tests/scene/test_fontfile.h @@ -53,21 +53,21 @@ TEST_CASE("[FontFile] Load Dynamic Font - getters") { Dictionary expected_ot_name_strings; 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["subfamily_name"] = "Regular"; + en_dict["unique_identifier"] = "3.001;GOOG;NotoSansHebrew-Regular"; en_dict["full_name"] = "Noto Sans Hebrew Regular"; - en_dict["unique_identifier"] = "2.003;GOOG;NotoSansHebrew-Regular"; - en_dict["version"] = "Version 2.003"; + en_dict["version"] = "Version 3.001"; en_dict["postscript_name"] = "NotoSansHebrew-Regular"; 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["license_url"] = "https://scripts.sil.org/OFL"; - en_dict["designer"] = "Monotype Design Team"; - 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["manufacturer"] = "Google LLC"; + en_dict["designer"] = "Ben Nathan"; + en_dict["description"] = "Designed by Ben Nathan"; 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; CHECK(ff->get_ot_name_strings() == expected_ot_name_strings); diff --git a/thirdparty/README.md b/thirdparty/README.md index 40bf2af4c2..78b937ba21 100644 --- a/thirdparty/README.md +++ b/thirdparty/README.md @@ -299,19 +299,19 @@ Patches: * License: OFL-1.1 - `NotoSansBengali*.woff2`: * Upstream: https://github.com/notofonts/bengali - * Version: 2.003 (020a5701f6fc6a363d5eccbae45e37714c0ad686, 2022) + * Version: 3.011 (85d80394cbbbb798ca0a41c983902e6cf77be3a3, 2026) * License: OFL-1.1 - `NotoSansDevanagari*.woff2`: * Upstream: https://github.com/notofonts/devanagari - * Version: 2.004 (f8f27e49da0ec9e5e38ecf3628671f05b24dd955, 2023) + * Version: 2.006 (bb8d2566a1708ef2dcc6396ee2eb261a18967f76, 2024) * License: OFL-1.1 - `NotoSansGeorgian*.woff2`: * Upstream: https://github.com/notofonts/georgian - * Version: 2.002 (243ec9aa1d4ec58cc42120d30faac1a102fbfeb9, 2022) + * Version: 2.005 (c02e5483c2dd63c5cf223845010ebd6e6dc56aec, 2024) * License: OFL-1.1 - `NotoSansHebrew*.woff2`: * Upstream: https://github.com/notofonts/hebrew - * Version: 2.003 (caa7ab0614fb5b37cc003d9bf3d7d3e765331110, 2022) + * Version: 3.001 (caa7ab0614fb5b37cc003d9bf3d7d3e765331110, 2024) * License: OFL-1.1 - `NotoSansMalayalam*.woff2`: * Upstream: https://github.com/notofonts/malayalam @@ -319,11 +319,11 @@ Patches: * License: OFL-1.1 - `NotoSansOriya*.woff2`: * Upstream: https://github.com/notofonts/oriya - * Version: 2.005 (9377f242b247df12d0bf4cecd93b9c4b18036fbd, 2023) + * Version: 2.006 (97abab82ec512f8a4a98c389352f194a03385ce2, 2024) * License: OFL-1.1 - `NotoSansSinhala*.woff2`: * Upstream: https://github.com/notofonts/sinhala - * Version: 2.006 (66e5a2ed9797e575222d6e7c5b3710c7bf68be79, 2022) + * Version: 3.000 (032355e96de5bac83fd996535af3d13b1fbfeccf, 2025) * License: OFL-1.1 - `NotoSansTamil*.woff2`: * Upstream: https://github.com/notofonts/tamil @@ -331,11 +331,11 @@ Patches: * License: OFL-1.1 - `NotoSansTelugu*.woff2`: * Upstream: https://github.com/notofonts/telugu - * Version: 2.004 (68a6a8170cba5b2e9b45029ef36994961e8f614c, 2023) + * Version: 2.005 (e97c3409a8347d68cccd06a82a68b418c315ee0c, 2023) * License: OFL-1.1 - `NotoSansThai*.woff2`: * Upstream: https://github.com/notofonts/thai - * Version: 2.001 (09af528011390f35abf15cf86068dae208f512c4, 2022) + * Version: 2.002 (f8b482c158650260bba5d5edba9da3e8bb7185b4, 2023) * License: OFL-1.1 - `OpenSans_SemiBold.woff2`: * Upstream: https://github.com/googlefonts/opensans diff --git a/thirdparty/fonts/NotoSansBengaliUI_Bold.woff2 b/thirdparty/fonts/NotoSansBengaliUI_Bold.woff2 deleted file mode 100644 index c0087a2453..0000000000 Binary files a/thirdparty/fonts/NotoSansBengaliUI_Bold.woff2 and /dev/null differ diff --git a/thirdparty/fonts/NotoSansBengaliUI_Regular.woff2 b/thirdparty/fonts/NotoSansBengaliUI_Regular.woff2 deleted file mode 100644 index 219792295a..0000000000 Binary files a/thirdparty/fonts/NotoSansBengaliUI_Regular.woff2 and /dev/null differ diff --git a/thirdparty/fonts/NotoSansBengali_Bold.woff2 b/thirdparty/fonts/NotoSansBengali_Bold.woff2 new file mode 100644 index 0000000000..96abcde14f Binary files /dev/null and b/thirdparty/fonts/NotoSansBengali_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansBengali_Regular.woff2 b/thirdparty/fonts/NotoSansBengali_Regular.woff2 new file mode 100644 index 0000000000..74bbd5f754 Binary files /dev/null and b/thirdparty/fonts/NotoSansBengali_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansDevanagariUI_Bold.woff2 b/thirdparty/fonts/NotoSansDevanagariUI_Bold.woff2 deleted file mode 100644 index d3d34ff8e1..0000000000 Binary files a/thirdparty/fonts/NotoSansDevanagariUI_Bold.woff2 and /dev/null differ diff --git a/thirdparty/fonts/NotoSansDevanagariUI_Regular.woff2 b/thirdparty/fonts/NotoSansDevanagariUI_Regular.woff2 deleted file mode 100644 index 333562f449..0000000000 Binary files a/thirdparty/fonts/NotoSansDevanagariUI_Regular.woff2 and /dev/null differ diff --git a/thirdparty/fonts/NotoSansDevanagari_Bold.woff2 b/thirdparty/fonts/NotoSansDevanagari_Bold.woff2 new file mode 100644 index 0000000000..6510f1ebea Binary files /dev/null and b/thirdparty/fonts/NotoSansDevanagari_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansDevanagari_Regular.woff2 b/thirdparty/fonts/NotoSansDevanagari_Regular.woff2 new file mode 100644 index 0000000000..25c54cb883 Binary files /dev/null and b/thirdparty/fonts/NotoSansDevanagari_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansGeorgian_Bold.woff2 b/thirdparty/fonts/NotoSansGeorgian_Bold.woff2 index c5e25ffe22..0222e9abce 100644 Binary files a/thirdparty/fonts/NotoSansGeorgian_Bold.woff2 and b/thirdparty/fonts/NotoSansGeorgian_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansGeorgian_Regular.woff2 b/thirdparty/fonts/NotoSansGeorgian_Regular.woff2 index 64ff0e84d8..77fc36f622 100644 Binary files a/thirdparty/fonts/NotoSansGeorgian_Regular.woff2 and b/thirdparty/fonts/NotoSansGeorgian_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansHebrew_Bold.woff2 b/thirdparty/fonts/NotoSansHebrew_Bold.woff2 index 01768b6416..895c6c4a57 100644 Binary files a/thirdparty/fonts/NotoSansHebrew_Bold.woff2 and b/thirdparty/fonts/NotoSansHebrew_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansHebrew_Regular.woff2 b/thirdparty/fonts/NotoSansHebrew_Regular.woff2 index 980b7d3bf8..bf70629673 100644 Binary files a/thirdparty/fonts/NotoSansHebrew_Regular.woff2 and b/thirdparty/fonts/NotoSansHebrew_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansOriya_Bold.woff2 b/thirdparty/fonts/NotoSansOriya_Bold.woff2 index 333abfaae0..eb22374a85 100644 Binary files a/thirdparty/fonts/NotoSansOriya_Bold.woff2 and b/thirdparty/fonts/NotoSansOriya_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansOriya_Regular.woff2 b/thirdparty/fonts/NotoSansOriya_Regular.woff2 index c9b7c4a74e..1e74bbd29a 100644 Binary files a/thirdparty/fonts/NotoSansOriya_Regular.woff2 and b/thirdparty/fonts/NotoSansOriya_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansSinhalaUI_Bold.woff2 b/thirdparty/fonts/NotoSansSinhalaUI_Bold.woff2 deleted file mode 100644 index 7facb291bd..0000000000 Binary files a/thirdparty/fonts/NotoSansSinhalaUI_Bold.woff2 and /dev/null differ diff --git a/thirdparty/fonts/NotoSansSinhalaUI_Regular.woff2 b/thirdparty/fonts/NotoSansSinhalaUI_Regular.woff2 deleted file mode 100644 index 8059db385f..0000000000 Binary files a/thirdparty/fonts/NotoSansSinhalaUI_Regular.woff2 and /dev/null differ diff --git a/thirdparty/fonts/NotoSansSinhala_Bold.woff2 b/thirdparty/fonts/NotoSansSinhala_Bold.woff2 new file mode 100644 index 0000000000..310b4ebd3f Binary files /dev/null and b/thirdparty/fonts/NotoSansSinhala_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansSinhala_Regular.woff2 b/thirdparty/fonts/NotoSansSinhala_Regular.woff2 new file mode 100644 index 0000000000..b067e96c76 Binary files /dev/null and b/thirdparty/fonts/NotoSansSinhala_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansTeluguUI_Bold.woff2 b/thirdparty/fonts/NotoSansTeluguUI_Bold.woff2 index 4de7b9f28d..d1b53d2f69 100644 Binary files a/thirdparty/fonts/NotoSansTeluguUI_Bold.woff2 and b/thirdparty/fonts/NotoSansTeluguUI_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansTeluguUI_Regular.woff2 b/thirdparty/fonts/NotoSansTeluguUI_Regular.woff2 index 0d9fe71d3a..4ea34eeb6b 100644 Binary files a/thirdparty/fonts/NotoSansTeluguUI_Regular.woff2 and b/thirdparty/fonts/NotoSansTeluguUI_Regular.woff2 differ diff --git a/thirdparty/fonts/NotoSansThai_Bold.woff2 b/thirdparty/fonts/NotoSansThai_Bold.woff2 index 68dc6c1392..16567f131e 100644 Binary files a/thirdparty/fonts/NotoSansThai_Bold.woff2 and b/thirdparty/fonts/NotoSansThai_Bold.woff2 differ diff --git a/thirdparty/fonts/NotoSansThai_Regular.woff2 b/thirdparty/fonts/NotoSansThai_Regular.woff2 index ae29cbdb10..9b0e02e779 100644 Binary files a/thirdparty/fonts/NotoSansThai_Regular.woff2 and b/thirdparty/fonts/NotoSansThai_Regular.woff2 differ