On Tue, 9 Jan 2024 07:31:51 GMT, Karthik P K <k...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 66d96818
Author:    Karthik P K <k...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/66d96818413f8ce5518cc20cff848eacd1a2d56c
Stats:     1166 lines in 10 files changed: 1068 ins; 66 del; 32 mod

8319844: Text/TextFlow.hitTest() is incorrect in RTL orientation

Co-authored-by: John Hendrikx <jhendr...@openjdk.org>
Reviewed-by: angorya, jhendrikx

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

PR: https://git.openjdk.org/jfx/pull/1323

Reply via email to