

$ sudo ln -s /etc/fonts/infinality/nf /etc/fonts/conf.avail/nf I had to do the following afterwards: $ sudo rm /etc/fonts/conf.avail/nf
#Change font size on mac netbeans install#
$ sudo apt-get install fontconfig-infinality
#Change font size on mac netbeans Patch#
Install infinality patch $ sudo add-apt-repository ppa:no1wantdthisname/ppa Install freetype $ sudo apt-get install libfreetype6 Ubuntu 13.10, Netbeans (7.3), Infinality font patches to freetype, OpenJDK7, and patches to it to fix Swings dismal font handling. I thought I was just going to have to live with terrible text in netbeans. I know this is an old question, but in my quest for the same problem, I tried all the tricks here without luck. No, not perfect and yes, a bit of a hassle, but still a world of difference. Run Netbeans and use the font you created as editor font.Clear font cache fc-cache -rv - following its output to make sure your new font file was picked up (e.g.sfd doesn't but.fonts directory in your home, through file -> generate fonts, making sure to use a format that Ubuntu reads (see next step)


SWT applications like Eclipse are fine, but if you like Netbeans this isn't gonna help you.Ĭaveat: For the following workaround I'm only talking about the editor font, because in an IDE that's what's important to me. It always uses full hinting, and if you're running Ubuntu with little or no font hinting (as most people do since little hinting is the default setting) this will make the font appear significantly different than in other applications. Swing does use Gnome's font smoothing settings (deactivated, greyscale or subpixel) - it disregards the hinting settings though. As has been stated in the comments, this is a problem with Java Swing apps on Linux.
