Programming with a dose of satire...

Books

  • Books by Matt:
    Use Case Driven Object Modeling with UML: Theory and Practice

    Agile Development with the ICONIX Process

    Extreme Programming Refactored

    XPR in Chinese:
    Extreme Programming Refactored

Amazon Recommends...

« Book Review: Subject to Change | Main | JavaFX on The Register (Part 1) »

JavaFX Text Rendering Issues

Sun lost the first round of the Rich Internet Application (RIA) battle to Macromedia (now part of Adobe), when Flash outshone Java applets. At the time, applets were ugly and slow to start up.

Now, Sun has a second chance with its promising new hybrid offering, JavaFX. This time, though, the competition is fiercer, and the prize arguably much greater: ownership of the mobile web – rich, collaborative computing on the move. (JavaFX Mobile will of course help rather a lot here). To even participate, let alone win the race, JavaFX applications need to look good with a minimum of effort.

So it worries me immensely when I see this sort of thing:

Beauty is in the eye of the beholder?


This monstrosity is the result of a demo that fills red text and surrounds it with a red stroke:

content: Text {
// . . .
  content: "Hello JavaFX Script Developer!"
  stroke: red
  fill: red
}

Obvious answer: “So don’t do that.” However, this "make the text look yucky" approach is like a disease; I’ve encountered it in more than one JavaFX demo with no comment on how nasty it looks.

Other demos, presumably intended to show JavaFX in all its grooviness, also have text rendering issues:

JavaFX text rendering issues

Straight lines bleed into the surroundings; the curves are jagged. There’s obviously precious little antialiasing going on.

I really want JavaFX to do well, but Sun needs to work on these kinds of issues and make it easy to create gorgeous-looking applications. Based on the above evidence, Adobe (and Microsoft with Silverlight) might not be too worried right now.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c8b6353ef00e552baa9588833

Listed below are links to weblogs that reference JavaFX Text Rendering Issues:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment