Ugly Java Swing fonts after stable update 2020-12-30

Everything went fine for me with the latest update, except for the fact that I have ugly fonts in Java Swing Applications.
I’m used to fix that with

cat /etc/environment 
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp'
JAVA_FONTS=/usr/share/fonts/TTF

as instructed at Java Runtime Environment fonts - ArchWiki
But now that isn’t working.

Any ideas?

Try -Dawt.useSystemAAFontSettings=lcd_hrgb -Dswing.aatext=true

3 Likes

Thanks, all back to normal now! :ok_hand:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.