Turning off text anti-aliasing with NetBeans 8.2, 8.1, 7.3, 7.2, 7.1 on OS X
Posted: March 5th, 2012 | Author: Alex Korn | Filed under: Uncategorized | Tags: fonts, Mac OS X, netbeans | 1 Comment »Update 2016/09/19: For NetBeans 8.1 or 8.2, just add ” -J-Dorg.netbeans.editor.aa.text=false” to the line described below.
Update 2013/02/10: This also works with NetBeans 7.3.
Update 2012/07/24: This post was originally written about 7.1. Everything here also applies to Netbeans 7.2, so I’ve update this to refer to 7.2.
Another version of NetBeans, another hack to get it to turn off text anti-aliasing. Previously, I showed how with NetBeans 7.0. NetBeans 7.3.x is nearly the same, but a bit simpler.
Just make the following changes to the definition of netbeans_default_options
in /Applications/NetBeans/NetBeans\ 7.3.app/Contents/Resources/NetBeans/etc/netbeans.conf
(or something similar if you didn’t install it in the default location):
Add:
-J-Dswing.aatext=false
Change:
-J-Dapple.awt.graphics.UseQuartz=false
Restart NetBeans and you should have non-anti-aliased fonts.
Notes
Note that, unlike NetBeans 7.0, you no longer need to add -J-Dawt.useSystemAAFontSettings=off
.
See some notes about text anti-aliasing on the NetBeans wiki.
Thanks! This fixed a major nuisance for me.
I did have to tweak a bit for my requirements. What worked best for me on a Macbook Pro 15.4″:
-J-Dapple.awt.graphics.UseQuartz=false
-J-Dswing.aatext=true
-J-Dawt.useSystemAAFontSettings=lcd