Improve font loading error message

This commit is contained in:
crschnick 2023-12-23 19:12:56 +00:00
parent eeb0de4a4e
commit ff4587aae9

View file

@ -62,7 +62,7 @@ public class AppFont {
try {
Font.getDefault();
} catch (Throwable t) {
throw new IllegalStateException("Font loading is not working. Check whether your system is properly configured with fontconfig", t);
throw new IllegalStateException("Unable to load any fonts. Check whether your system is properly configured with fontconfig", t);
}
}