Blurred Java Webstart fonts

Discussion in 'Mac Programming' started by whitehexagon, Jun 10, 2008.

  1. macrumors regular


    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
  2. macrumors 603


    what L&F are you using? Can you post screenshots?
  3. macrumors regular


    It's Metal L&F but using some customization.

    These are swing button's, with custom colors and fonts.
  4. macrumors regular


    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="" 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.

Share This Page