Skip to content

Commit cffc967

Browse files
committed
FROM AOSC: Use system AA font by default
Backport of 38a1699
1 parent a4a65f7 commit cffc967

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jdk/src/share/classes/sun/awt/SunToolkit.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,9 @@ private static boolean useSystemAAFontSettings() {
18311831
AccessController.doPrivileged(
18321832
new GetPropertyAction("awt.useSystemAAFontSettings"));
18331833
}
1834+
if (systemAAFonts == null) {
1835+
systemAAFonts = "on";
1836+
}
18341837
if (systemAAFonts != null) {
18351838
useSystemAAFontSettings =
18361839
Boolean.valueOf(systemAAFonts).booleanValue();

0 commit comments

Comments
 (0)