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

Jay Bhaskar duke at openjdk.java.net
Sun Feb 13 07:35: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:

  adjust thickness

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/731/files
  - new: https://git.openjdk.java.net/jfx/pull/731/files/94a493ae..c5b6ff76

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

  Stats: 15 lines in 1 file changed: 2 ins; 0 del; 13 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