as per bug #937200 (https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200) :
after some debug i found that the /etc/font/conf.d/65-nonlatin.conf is the one that makes java use a bad font. remove it and restart the java and things will be back to normal. of course, i dont know what removing that font definition will break, possible non-latin languages :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989624 Title: Netbeans font type is bold, menu font color is grey To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/989624/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs