Set -fx-font-smoothing-type to grey.

Remove system property at linux set to false (issue happens on all OS as far I am aware).

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2024-07-06 22:39:28 +07:00
parent 039d778eca
commit 633f823581
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307
2 changed files with 5 additions and 2 deletions

View File

@ -111,8 +111,6 @@ public class CommonSetup {
} }
protected static void setSystemProperties() { protected static void setSystemProperties() {
if (Utilities.isLinux())
System.setProperty("prism.lcdtext", "false");
} }
protected static void setupSigIntHandlers(GracefulShutDownHandler gracefulShutDownHandler) { protected static void setupSigIntHandlers(GracefulShutDownHandler gracefulShutDownHandler) {

View File

@ -26,6 +26,11 @@
-fx-font-family: "IBM Plex Sans"; -fx-font-family: "IBM Plex Sans";
} }
/* Avoid color artefacts at antialias */
.text {
-fx-font-smoothing-type: gray;
}
/******************************************************************************************************************** /********************************************************************************************************************
* * * *
* General * * General *