After updating ubuntu to 12.04 all fonts got bold. I haven't installed themes or configured fonts.
from netbeans about:
Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityAfter updating ubuntu to 12.04 all fonts got bold. I haven't installed themes or configured fonts.
from netbeans about:
Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02
This is a bug:
In the first link, there is a comment that will point you to another bug. There you can find the following solution:
sudo apt-get remove fonts-unfonts-core
fonts-unfonts-core
was selected when upgrading WINE from the official Ubuntu repository's 1.4.* to the official WINE-development repo's 1.7.7 (with Ubuntu 13.04).
My Netbeans was showing the IDE font as all italics after an OS upgrade.
I ran the command sudo apt-get install fonts-unfonts-core
and this resolved the problem.
The accepted solution of removing fonts of course works but it's not very elegant
sudo apt-get remove fonts-unfonts-core
instead you can simply change options in Netbeans by editing the file
/usr/local/netbeans-8.0.2/etc/netbeans.conf
which you can also find with a simple
find / -name netbeans.conf
and then add the following line to netbeans options:
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal
so you should get a line similar to:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal"
In the comments of the bug, there is also a blog post listing two other solutions to solve the problem rather than removing the the fonts: