Ugly Fonts in Java Applications on Ubuntu

Ugly fonts in Java applications on Ubuntu

So... Seems my problem is solved.

Step 1, Install and configure Infinality for better font rendering in Linux

sudo add-apt-repository ppa:no1wantdthisname/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fontconfig-infinality

Step 2., Install OpenJDK7 with font fixes in Ubuntu

sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
sudo apt-get update
sudo apt-get upgrade

NetBeans: screenshot with improved fonts

Step 3: Applies nice font style linux

sudo /etc/fonts/infinality/infctl.sh setstyle linux

Ugly fonts Netbeans on Ubuntu 16.04

I solved this problem uninstalling Java Oracle and installing OpenJDK 8.
For applying changes, I reinstalled all software/IDE who use Java.

Java: Fonts look garbled on Linux, but fine on windows

OpenJDK has to put out fonts which are copyright protected. Install Sun's Java and fonts will be somehwat better.

Ugly font and broken source code editor in Intellij 11.1.x after update to jdk 7u9

Font rendering on Linux in Java Swing applications is not perfect and we already have an open issue for this problem where you can find some hints how to tweak it (by using different fonts, by patching font files, by patching JDK, by supplying JVM options, etc).

Unfortunately, it's extremely hard to get exactly the same font rendering as in the other elements of the native system user interface.

Good news is that we have plans to implement native font rendering for the editor in the future IntelliJ IDEA versions (we'll be using system default freetype library directly for the best possible and consistent font appearance).

Ugly fonts in IntelliJ IDEA Community Edition 14.0 Windows 8.1

Java applications don't work well with MacType. Take a look at the discussion here:
https://code.google.com/p/mactype/issues/detail?id=53

You could try gdipp instead.
https://code.google.com/p/gdipp/.
You may have to set the embolden parameter in its settings file to 6 or 7 atleast for all the glyphs to display correctly.

Intellij does not allow you to choose Ubuntu Bold because it is not a monospace font, but if you check Show Only Monospaced fonts, it should work.

Netbeans source code font not being well rendered

As I could check, forcing PHPStorm to use the Oracle JDK, what makes font rendering different between Netbeans and PHPStorm is the JRE being used. When I forced PHPStorm to use the Oracle JDK it rendered fonts exactly the same way Netbeans renders. So JetBrains, with it's own JRE, were managed to make a JRE that renders fonts better than OpenJDK or OracleJDK.

Sample Image



Related Topics



Leave a reply



Submit