Marcus
Marcus

Reputation: 793

Ugly fonts Netbeans on Ubuntu 16.04

I'm newer here, but a have a problem a far time. So, the fonts of the Netbeans is very very ugly. Others applications same Android Studio e Eclipse has better fonts.

I'm using Java Oracle 8.

It's this problem guys.

Thanks.

See this:

Upvotes: 1

Views: 4527

Answers (3)

Tomasz Jacek
Tomasz Jacek

Reputation: 53

I've found usefull on my laptop to set in netbeans.conf:

-J-Dawt.useSystemAAFontSettings=lcd

"lcd" settings are the best choice for me, if we are talking about fonts in Netbeans on Linux.

Upvotes: 1

CTala
CTala

Reputation: 317

You can also change the default look and feel of netbeans instead of using GTK.

You can check if it works lunching Netbeans like this :

netbeans --laf Nimbus

If it works we need to set it as default.

Let's edit the configuration file of netbeans, in my case ~/netbeans-8.2/etc/netbeans.conf.

We find the options part and we add the --laf Nimbus option. In my case the final version is like this one :

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true --laf Nimbus"

Now is much more confortable than before.

Upvotes: 3

Marcus
Marcus

Reputation: 793

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

Upvotes: 1

Related Questions