View Full Version : Blurred Java Webstart fonts
Jun 10, 2008, 11:30 AM
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.
Leopard, Java 1.5
Jun 10, 2008, 11:34 AM
what L&F are you using? Can you post screenshots?
Jun 10, 2008, 12:31 PM
It's Metal L&F but using some customization.
These are swing button's, with custom colors and fonts.
Jul 19, 2008, 03: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.