By gridbag on Oct 31, 2009
I wanted to embed a font in my JavaFX application. Sure enough, the first Google result led to the answer (http://forums.sun.com/thread.jspa?threadID=5353505). But the result is not something that I liked. It worked programmatically, but visually I was disappointed:
Here is the same text using the same font in Photoshop.
I like the second one. The JavaFX rendering does not stay true to the intended look of the font, and for my eyes, has a smudgy look to it (then again, I am no fonts expert). If you are using such a font in many places in your application, this difference between the photoshop mockup and the actual application starts getting to your eyes.
Maybe I am missing some trick or maybe the font rendering is indeed like this on JavaFX. But if this is the way JavaFX renders fonts, I am a tad disappointed for now. Maybe things will improve in upcoming versions.