RFR: 8319844 : Text/TextFlow.hitTest() is incorrect in RTL orientation [v7]
Karthik P K
kpk at openjdk.org
Wed Jan 31 10:24:20 UTC 2024
> In the `getHitInfo()` method of PrismTextLayout, RTL node orientation conditions were not considered, hence hit test values such as character index and insertion index values were incorrect.
>
> Added checks for RTL orientation of nodes and fixed the issue in `getHitInfo()` to calculate correct hit test values.
>
> Added system tests to validate the changes.
Karthik P K has updated the pull request incrementally with one additional commit since the last revision:
Fix issue with multiline text
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1323/files
- new: https://git.openjdk.org/jfx/pull/1323/files/a58f754e..52ee61cc
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1323&range=06
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1323&range=05-06
Stats: 6 lines in 1 file changed: 0 ins; 2 del; 4 mod
Patch: https://git.openjdk.org/jfx/pull/1323.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1323/head:pull/1323
PR: https://git.openjdk.org/jfx/pull/1323
More information about the openjfx-dev
mailing list