On Thu, 10 Feb 2022 11:36:38 GMT, Jay Bhaskar <jbhas...@openjdk.org> wrote:
> Issue: The end point of line in drawLinesForText , add thickness to the > endPoint.y(). In this case origin which is start point and the end point > would not be same, and line would be drawn not straight. > Solution: Do not add thickness to the y position of end point of line. > Start Point(x,y) ----------End Point(x + width, 0) This pull request has now been integrated. Changeset: 263db3df Author: Jay Bhaskar <jbhas...@openjdk.org> Committer: Kevin Rushforth <k...@openjdk.org> URL: https://git.openjdk.java.net/jfx/commit/263db3df5fdf9e0f6955be6ae58173aa589e55fe Stats: 192 lines in 2 files changed: 182 ins; 2 del; 8 mod 8280020: Underline and line-through not straight in WebView Reviewed-by: kcr, arapte ------------- PR: https://git.openjdk.java.net/jfx/pull/731