qwertymk
qwertymk

Reputation: 35294

inconsolata and netbeans

When I installed inconsolata everything looked fine, however when I tried viewing it on netbeans it look like this: enter image description here

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

Answers (3)

cdaddr
cdaddr

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

Marcin
Marcin

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:

  • Decrease contrast of your color scheme, i.e. by decreasing lightness of a background and/or increasing lightness of your font. It makes font rendering issues less visible.
  • Use NegativeScreen: http://arcanesanctum.net/negativescreen/

You may find your experience improved, but this is up to your personal preference.

Upvotes: 0

Nathan
Nathan

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

Related Questions