diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp index 8e0d92267cd..ea99c882e4c 100644 --- a/editor/editor_fonts.cpp +++ b/editor/editor_fonts.cpp @@ -68,6 +68,7 @@ static Ref make_font(int p_height, int p_ascent, int p_valign, int p m_name->add_fallback(FontArabic); \ m_name->add_fallback(FontHebrew); \ m_name->add_fallback(FontThai); \ + m_name->add_fallback(FontHindi); \ m_name->add_fallback(FontJapanese); \ m_name->add_fallback(FontFallback); @@ -204,6 +205,12 @@ void editor_register_fonts(Ref p_theme) { FontThai->set_font_ptr(_font_NotoSansThaiUI_Regular, _font_NotoSansThaiUI_Regular_size); FontThai->set_force_autohinter(true); //just looks better..i think? + Ref FontHindi; + FontHindi.instance(); + FontHindi->set_hinting(font_hinting); + FontHindi->set_font_ptr(_font_NotoSansDevanagariUI_Regular, _font_NotoSansDevanagariUI_Regular_size); + FontHindi->set_force_autohinter(true); //just looks better..i think? + /* Hack */ Ref dfmono; diff --git a/thirdparty/fonts/NotoSansDevanagariUI_Regular.ttf b/thirdparty/fonts/NotoSansDevanagariUI_Regular.ttf new file mode 100644 index 00000000000..1f9fb2e8574 Binary files /dev/null and b/thirdparty/fonts/NotoSansDevanagariUI_Regular.ttf differ