View Full Version : Blurred Java Webstart fonts
whitehexagon
Jun 10, 2008, 12:30 PM
If I run my application standalone, all the Swing fonts are nice and crisp. When I package it up and run it as a Webstart, the font's are more blurred and not easy to read. Any seen similar bahavior or any ideas what might cause this? Seems fine when I test the webstart on Windows.
Cheers
Peter
Leopard, Java 1.5
jeremy.king
Jun 10, 2008, 12:34 PM
what L&F are you using? Can you post screenshots?
whitehexagon
Jun 10, 2008, 01:31 PM
It's Metal L&F but using some customization.
These are swing button's, with custom colors and fonts.
Standalone:
http://whitehexagon.com/standalone-fonts.png
Webstart
http://whitehexagon.com/webstart-fonts.png
whitehexagon
Jul 19, 2008, 04:07 AM
Just as an update for anyone else facing this problem.
I found a couple of jvm flags that have improved things slightly:
<property name="apple.awt.textantialiasing" value="off" />
<property name="apple.awt.antialiasing" value="off" />
this flag also seems to have an impact:
<property name="apple.awt.graphics.UseQuartz" value="false" />
Although I'm still not able to get consistant looking fonts between webstart and standalone on Leopard. But at least the small fonts are now more readable.
Oh and I also tried packaging the fonts inside the application in case that was the problem, but it wasn't.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.