RFR: 8280020: Underline and line-through not straight in WebView [v3]
Jay Bhaskar
duke at openjdk.java.net
Sat Feb 19 03:52:41 UTC 2022
> 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)
Jay Bhaskar has updated the pull request incrementally with one additional commit since the last revision:
Update test case for line straightness check
-------------
Changes:
- all: https://git.openjdk.java.net/jfx/pull/731/files
- new: https://git.openjdk.java.net/jfx/pull/731/files/c5b6ff76..135a073b
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jfx&pr=731&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=731&range=01-02
Stats: 238 lines in 2 files changed: 176 ins; 62 del; 0 mod
Patch: https://git.openjdk.java.net/jfx/pull/731.diff
Fetch: git fetch https://git.openjdk.java.net/jfx pull/731/head:pull/731
PR: https://git.openjdk.java.net/jfx/pull/731
More information about the openjfx-dev
mailing list