Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans Forwarded over X11 Font Problem [closed]

I'm trying to forward my IDE, Netbeans, over ssh to the Xming server on my Windows Desktop. I'm able to get Netbeans to launch and run, but the fonts look terrible because they aren't being anti-aliased. I've uploaded a screenshot here.

If I launch Netbeans from Gnome on the linux box itself, the fonts look fine, so it must be a problem with Xming or the Windows font rendering. Does anyone have any ideas about how to get Xming to display the fonts anti-aliased?

Update:

I just setup a font server on the host, but the fonts still appear pixelated on the client side.

like image 737
jcnnghm Avatar asked Dec 05 '22 07:12

jcnnghm


1 Answers

I ended up setting some of the netbeans command line options in the launcher script to force anti aliasing and force subpixel font rendering. This fixed the issue.

Update: Added Steps

I set the netbeans_default_options under /etc/netbeans.conf to read:

netbeans\_default\_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dawt.useSystemAAFontSettings=lcd"
like image 174
jcnnghm Avatar answered Dec 28 '22 08:12

jcnnghm