GUI: Drop lastResortFont check for Tonal support, since it was a Qt4-only feature

This commit is contained in:
Luke Dashjr 2021-10-11 16:40:22 +00:00
parent 84b7b63134
commit 0132462fe0

View File

@ -33,8 +33,8 @@ bool TonalUtils::Supported()
{ {
QFont default_font; QFont default_font;
if (font_supports_tonal(default_font)) return true; if (font_supports_tonal(default_font)) return true;
QFont last_resort_font(default_font.lastResortFamily()); // FIXME: This will fail if the default font has some non-Tonal glyphs but a fallback supports Tonal
if (font_supports_tonal(last_resort_font)) return true; // TODO: Check other fonts and ensure their usage when appropriate
return false; return false;
} }