API REVIEW request for RT-19042: Add fontSmoothingType API to WebView
Richard Bair
richard.bair at oracle.com
Wed May 9 18:12:01 PDT 2012
It seems like it should just be on by default. The controls all require FX CSS anyway, so it made sense to toggle it there (since we didn't want all text nodes to use LCD for performance reasons).
I don't know that it makes sense to default to gray scale and require CSS to "fix" the default.
Cheers
Richard
On May 7, 2012, at 9:49 PM, Peter Zhelezniakov <Peter.Zhelezniakov at oracle.com> wrote:
> Hi Richard,
>
>> Looks fine. The one thing here is that the documentation states that it defaults to GRAY, but I think in WebView you want to default to LCD?
>
> (Sergey is on vacation now, so I'll take care of this request):
>
> Here we do the same thing Text node does, i.e. default to gray and override the default setting in CSS. This new property has the same meaning as Text.fontSmoothingType so we've decided to be consistent.
>
> Thanks!
> --
> Peter
More information about the openjfx-dev
mailing list