You are not logged in.
Hello archers.
I wanted to test Netbeans for PHP programming. Work well, but I face ugly font rendering as you can see below :
https://dl.dropboxusercontent.com/u/547 … tbeans.png
The problem is not only in Netbeans but in also java application using the swing api (no problems with eclipse and swt api), both with OpenJDK and Oracle official java SDK.
I tried the different solutions found in the wiki, adding in /etc/profile.d/jre.sh the following options without success :
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
export JAVA_FONTS=/usr/share/fonts/TTFDoes anyone know a solution for this ?
Thanks.
Last edited by Cthulhu82 (2014-02-05 10:06:12)
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline
OK, I eventualy discover that Java uses its own font configuration, and look for the fonts in /usr/share/fonts/TTF. As I use Bohoomil bundle fonts, which does not install fonts in this directory, Java wasn't finding the right fonts.
Copying the DejaVu family in /usr/share/fonts/TTF solved the problem.
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline