Reputation: 35294
When I installed inconsolata everything looked fine, however when I tried viewing it on netbeans it look like this:
I tried using both the ttf and otf versions and they both looked messed up.
Is this a java issue? Win 7 64 bit issue? Is there any way to fix this?
Upvotes: 1
Views: 1891
Reputation: 1340
It's not just NetBeans, although it is probably not simply the Inconsolata font's fault either. There seems to be a problem at the level of the underlying Java system that NetBeans is built on. I say this because the exact same problem shows up in the IDEs created by Jetbrains -- IntelliJ IDEA, WebStorm, PyCharm, and possibly others.
Upvotes: 0
Reputation: 4313
If you want to play around with NetBeans font rendering settings, take a look at http://wiki.netbeans.org/FaqFontRendering
Unfortunately, what this article concludes is that default font rendering settings provide the best possible experience. At least under Windows. I have tried all the possibilities with Inconsolata and defaults provide the the best look indeed.
As a workaround, you can try two things:
You may find your experience improved, but this is up to your personal preference.
Upvotes: 0
Reputation: 1425
You could try disabling font antialiasing in NetBeans.
Open up your netbeans.conf
As part of the netbeans_default_options
section add -J-Dswing.aatext=false -J-Dawt.useSystemAAFontSettings=off
.
Edit: fvu also provided a helpful link to a relevant section in the NetBeans font rendering FAQ.
Upvotes: 2