Review request: 8148939: Font rendering artifacts on Adobe.com
arunprasad.rajkumar at oracle.com
Tue Dec 5 14:38:30 UTC 2017
Hi Kevin, Phil,
Please review the following fix related to LCD text rendering issue in Windows,
Padding is added for "left, bottom and right" parts to avoid LCD text rendering artifacts, but “top” part is ignored. Adding a single pixel padding fixes the issue.
Issue is seen only on Windows when enabling LCD font smoothing(which is enabled by default for WebView).
I tried to reproduce the problem using “Text/Label” node, but I couldn't. Probably because “Text/Label” node calculates NGText bounding box differently, WebView uses "NGText.getShape().getBounds()”.
More information about the openjfx-dev