Skip to content

Commit

Permalink
Set -fx-font-smoothing-type to grey.
Browse files Browse the repository at this point in the history
Remove system property at linux set to false (issue happens on all OS as far I am aware).

Signed-off-by: HenrikJannsen <[email protected]>
  • Loading branch information
HenrikJannsen committed Jul 6, 2024
1 parent 039d778 commit 633f823
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/src/main/java/bisq/common/setup/CommonSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ private static void setupLog(Config config) {
}

protected static void setSystemProperties() {
if (Utilities.isLinux())
System.setProperty("prism.lcdtext", "false");
}

protected static void setupSigIntHandlers(GracefulShutDownHandler gracefulShutDownHandler) {
Expand Down
5 changes: 5 additions & 0 deletions desktop/src/main/java/bisq/desktop/bisq.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
-fx-font-family: "IBM Plex Sans";
}

/* Avoid color artefacts at antialias */
.text {
-fx-font-smoothing-type: gray;
}

/********************************************************************************************************************
* *
* General *
Expand Down

0 comments on commit 633f823

Please sign in to comment.