From 9ceda9a79a81749c755f28d8d47432e54081e538 Mon Sep 17 00:00:00 2001 From: weisj Date: Tue, 22 Sep 2020 22:16:06 +0200 Subject: [PATCH] Clarify that the property should be passed through the JVM startup properties. --- .../com/github/weisj/darklaf/task/FontDefaultsInitTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/task/FontDefaultsInitTask.java b/core/src/main/java/com/github/weisj/darklaf/task/FontDefaultsInitTask.java index 611317b03..a92e6113a 100644 --- a/core/src/main/java/com/github/weisj/darklaf/task/FontDefaultsInitTask.java +++ b/core/src/main/java/com/github/weisj/darklaf/task/FontDefaultsInitTask.java @@ -143,8 +143,8 @@ private void setupRenderingHints(final UIDefaults defaults) { } // The fallback value is an educated guess so issue a warning for the user. String message = "System property 'awt.useSystemAAFontSettings' is not set. Using '" + aaHint - + "'\nIt's recommended to manually set the property for the JVM on your platform for optimal " - + "text antialiasing. Refer to the " + + "'\nIt's recommended to manually add the property to the JVM startup parameters on your " + + "platform for optimal text antialiasing. Refer to the " + "[documentation](https://docs.oracle.com/javase/8/docs/technotes/guides/2d/flags.html#aaFonts)" + "for more information on the possible values."; if (!SystemInfo.isJava9OrGreater) {