You are not logged in.

#1 2024-01-22 19:43:09

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

[SOLVED] Extremely ugly fonts with Java

Hello,

using java-21-openjdk, I installed PortfoliePerformance (https://aur.archlinux.org/packages/port … rmance-bin), a Java application.

The fonts are ugly, to the point, that the app is not usable. Of course, I followed https://wiki.archlinux.org/title/Java and https://wiki.archlinux.org/title/Java_R … ment_fonts.

- ttf-ms-fonts are installed
- I tried variations of `export JDK_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'`

All variations of said JDK_JAVA_OPTIONS (or the absence of it) brought no visible change.

The system is KDE based with fonts using Noto Sans and Hack on Wayland.

Screenshot: https://cloud.xgm.de/s/yx6JR2HKr2ZC7Jm

Any other advices? Maybe try the Flatpak version?

Best Thanks!

Last edited by Osiris (2024-01-24 20:35:52)

Offline

#2 2024-01-22 20:13:12

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Re: [SOLVED] Extremely ugly fonts with Java

Ok, it seems to be a Wayland issue. On a X-session the font rendering is fine.

Offline

#3 2024-01-24 20:35:29

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Re: [SOLVED] Extremely ugly fonts with Java

Either installing xsettingsd or xdg-desktop-portal-gtk fixed it.

Offline

Board footer

Powered by FluxBB