Fontrendering seit OpenJDK 11 grausam

KDE, Gnome, Windowmanager, X11, Grafiktreiber und alles was dazu notwendig ist. Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
nudgegoonies
Beiträge: 939
Registriert: 16.02.2009 09:35:10

Fontrendering seit OpenJDK 11 grausam

Beitrag von nudgegoonies » 03.09.2019 13:49:28

Mit OpenJDK 8 sah noch alles gut aus. Seit OpenJDK 11 ist das Fontrendering grausam. Pixelig und Farbeffekte sind die schlimmsten Punkte. Es betrifft sowohl von Debian paketierte Java Anwendungen wie Mediathekview als auch externe wie TV-Browser, IntelliJ und BlueJ.

Weiß jemand Abhilfe? Desktop hier ist MATE. Aber wie beschrieben - mit OpenJDK 8 sah alles noch gut aus.
Soft: Bullseye AMD64, MATE Desktop. Repo's: Backports, kein Proposed, eigene Backports. Grafik: Radeon R7 360 MESA.
Hardware: Thinkstation S20, Intel X58, 16GB, Xeon W3530, BCM5755 NIC, EMU10K1 SND, SATA SSD+HDS und DVD+RW.

debianoli
Beiträge: 4073
Registriert: 07.11.2007 13:58:49
Lizenz eigener Beiträge: MIT Lizenz

Re: Fontrendering seit OpenJDK 11 grausam

Beitrag von debianoli » 03.09.2019 15:35:27

Ich kann nur raten, aber das erinnert mich an ein Java-Problem mit Schriften, das ich mal hatte. Ich habe mir damals diese Lösung gespeichert:

Code: Alles auswählen

Adding this line:

_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'

to /etc/environment should fix this issue.

If you can't edit your /etc/environment for some reason or it doesn't work then you can try running this command instead in a terminal and then launching the app (from the same terminal):

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'

This fix works as of Ubuntu 16.04 and OpenJDK 8u151 (haven't checked with Oracle JDK or Java 9) on the jEdit text-editor and other Java Swing applications. 
Siehe auch hier https://askubuntu.com/questions/636666/ ... tions?rq=1

nudgegoonies
Beiträge: 939
Registriert: 16.02.2009 09:35:10

Re: Fontrendering seit OpenJDK 11 grausam

Beitrag von nudgegoonies » 03.09.2019 21:14:50

Danke Dir für den Tip. Bei Mediathekview hilft es schon mal. Nur IntelliJ weigert sich standhaft.
Soft: Bullseye AMD64, MATE Desktop. Repo's: Backports, kein Proposed, eigene Backports. Grafik: Radeon R7 360 MESA.
Hardware: Thinkstation S20, Intel X58, 16GB, Xeon W3530, BCM5755 NIC, EMU10K1 SND, SATA SSD+HDS und DVD+RW.

getphp
Beiträge: 80
Registriert: 14.01.2006 15:23:28

Re: Fontrendering seit OpenJDK 11 grausam

Beitrag von getphp » 04.09.2019 15:41:19

Das Paket "fontconfig" hast du aber installiert, oder?
Gruss
getphp

nudgegoonies
Beiträge: 939
Registriert: 16.02.2009 09:35:10

Re: Fontrendering seit OpenJDK 11 grausam

Beitrag von nudgegoonies » 04.09.2019 21:45:50

Ja, ist installiert. Ich benutze IntelliJ ohne JBR. Also benutzt es auch das System Java 11.
Soft: Bullseye AMD64, MATE Desktop. Repo's: Backports, kein Proposed, eigene Backports. Grafik: Radeon R7 360 MESA.
Hardware: Thinkstation S20, Intel X58, 16GB, Xeon W3530, BCM5755 NIC, EMU10K1 SND, SATA SSD+HDS und DVD+RW.

Antworten