RFR: 8280020: Underline and line-through not straight in WebView [v4]

Jay Bhaskar duke at openjdk.java.net
Mon Feb 21 06:02:32 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:

  Improve style and width iterartion logic

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/731/files
  - new: https://git.openjdk.java.net/jfx/pull/731/files/135a073b..3246375d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=731&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=731&range=02-03

  Stats: 13 lines in 1 file changed: 4 ins; 1 del; 8 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