Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

whitehexagon

macrumors regular
Original poster
May 12, 2007
147
0
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
 

whitehexagon

macrumors regular
Original poster
May 12, 2007
147
0
It's Metal L&F but using some customization.

These are swing button's, with custom colors and fonts.
Standalone:
standalone-fonts.png

Webstart
webstart-fonts.png
 

whitehexagon

macrumors regular
Original poster
May 12, 2007
147
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.