UIScale: default font size on macOS is 13

This commit is contained in:
Karl Tauber
2020-02-22 14:39:43 +01:00
parent 8d66cce6eb
commit 00ccda83f9
3 changed files with 93 additions and 90 deletions

View File

@@ -156,6 +156,9 @@ public class UIScale
// Tahoma 11 is used at 100%
if( "Tahoma".equals( font.getFamily() ) )
fontSizeDivider = 11f;
} else if( SystemInfo.IS_MAC ) {
// default font size on macOS is 13
fontSizeDivider = 13f;
} else if( SystemInfo.IS_LINUX ) {
// default font size for Unity and Gnome is 15 and for KDE it is 13
fontSizeDivider = SystemInfo.IS_KDE ? 13f : 15f;