Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use force GRAY smoothing font in WebView (Linux 64)?

937015May 13 2012 — edited May 14 2012
The release notes of FX 2.1 says:
"Applications can also opt-in to use LCD text on the low-level scenegraph text node by a new API.",
e.g: setFontSmoothingType(FontSmoothingType.LCD), but on what node?

I assume this applies as well for javafx-sdk2.2.0-beta, and that I can also globally change the smoothing to FontSmoothingType.GRAY. Why? b/c LCD just looks horrible on my screen, barely readable... but I can wait until the beta goes FCS.

Could somebody give me an example on how to use GRAY text by setting the low-level scenegraph text node on a WebView?
This post has been answered by john16384 on May 14 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2012
Added on May 13 2012
4 comments
1,023 views