-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font display issues on Linux #398
Comments
Looks like you can do it programatically. I've done that and it looks the exact same with no change // enable anti-aliased text
System.setProperty("awt.useSystemAAFontSettings", "on");
System.setProperty("swing.aatext", "true"); |
So options likely will be:
Both options are shit, and not ideal. |
Ubuntu without any command line params is fine in both the latest build and the release build, so must be specific to OS/java version. Going to close this |
Going to add in an option in the settings to the launcher to use base font so users can disable custom fonts if they have issues |
As mentioned by @jamierocks in #396 and on Discord previously, new theme font rendering looks jank AF on Linux:
After some research it looks like Linux java not using anti aliasing by default. Once you launch with certain command line arguments (listed at https://cvigano.de/blog/2018/07/15/font-antialiasing-in-java-on-linux/) it will show correctly (my Manjaro setup below showed dodgy until I added those command line arguments):
Now with those arguments it looks perfectly fine on Linux.
Issue doesn't seem to be a problem on Windows or even OSX, only on Linux.
For the moment I'm disabling the custom fonts on Linux only until this can hopefully be applied programatically in the apps startup code.
The text was updated successfully, but these errors were encountered: