Skip to content

Commit 0132462

Browse files
committed
GUI: Drop lastResortFont check for Tonal support, since it was a Qt4-only feature
1 parent 84b7b63 commit 0132462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/tonalutils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ bool TonalUtils::Supported()
3333
{
3434
QFont default_font;
3535
if (font_supports_tonal(default_font)) return true;
36-
QFont last_resort_font(default_font.lastResortFamily());
37-
if (font_supports_tonal(last_resort_font)) return true;
36+
// FIXME: This will fail if the default font has some non-Tonal glyphs but a fallback supports Tonal
37+
// TODO: Check other fonts and ensure their usage when appropriate
3838
return false;
3939
}
4040

0 commit comments

Comments
 (0)