Martins Balodis Asked: 2012-04-27 12:50:31 +0800 CST2012-04-27 12:50:31 +0800 CST 2012-04-27 12:50:31 +0800 CST Netbeans all menu fonts are bold after upgrade to 12.04 772 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 fonts netbeans 4 Answers Voted Best Answer Jorge Castro 2012-04-27T13:13:23+08:002012-04-27T13:13:23+08:00 This is a bug: https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/669159 How do I subscribe to 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 Karmadillo 2015-03-25T02:21:09+08:002015-03-25T02:21:09+08:00 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. dendini 2015-04-18T00:30:41+08:002015-04-18T00:30:41+08:00 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" elisman 2014-04-26T00:59:19+08:002014-04-26T00:59:19+08:00 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: http://hanynowsky.wordpress.com/2012/04/27/netbeans-ide-look-feel-under-ubuntu-12-04/
This is a bug:
https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/669159
How do I subscribe to a bug?
In the first link, there is a comment that will point you to another bug. There you can find the following solution:
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
instead you can simply change options in Netbeans by editing the file
which you can also find with a simple
and then add the following line to netbeans options:
so you should get a line similar to:
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: