OpenJDK Fonts vs Sun JDK 1.6 [Linux Platform]

I noticed that OpenJDK fonts vs Sun JDK look different. The Java JDK has the best font set that accompanies it. Does anyone know which font package and how can I use it when installing OpenJDK?

thank

+3
source share
1 answer

This is a smoothing issue when rendering a Swing-based GUI. Anti-aliasing is enabled by default using the Oracle JDK, and for some reason (which I never wanted to explore) anti-aliasing was not included in OpenJDK.

You can enable anti-aliasing support using the current OpenJDK installation by adding this instruction to your ~/.bash_profile:

export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"

Good luck

+3

Source: https://habr.com/ru/post/1766805/


All Articles