java - Fonts on OpenJDK vs. Sun JDK 1.6 [Linux Platform] -


I found that the font on OpenJDK vs. Sun JDK looks different. Java is a better font set of JDK that is associated with it. Does anyone know what the 'font' package is and how can I get it to OpenJDK installations?

Thanks

This is related to anti-aliasing when implementing a swing-based GUI The problem is that anti-aliasing is enabled by default with Oracle JDK, and for some reasons (which I did not want to check at all) OpenJDK does not have anti-aliasing enabled.

Installation by adding this command to your current OpenJDK in your ~ / .bash_profile :

  export _JAVA_OPTIONS = "- Dawt.useSystemAAFontSettings = on " 

Good luck!


Comments