美化netbeans字体并增加反据齿

Wednesday, April 14, 2010

美化netbeans字体并增加反据齿
修改netbeans的安装目录下/etc/netbeans.conf文件第六行
修改前为

netbeans_default_options="-J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"

在这行添加-J-Dawt.useSystemAAFontSettings=on
修改后为

netbeans_default_options="-J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dawt.useSystemAAFontSettings=on"

在netbeans中设置缺省字体为文泉驿等宽微米黑 17, 设置空白字体为Monaco 17就可以了
安装文泉驿微米黑字体参考http://blog.lxneng.com/?p=72

image

This entry was tagged Linux and Netbeans

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top