RFR: 8319844 : Text/TextFlow.hitTest() is incorrect in RTL orientation [v7]

Karthik P K kpk at openjdk.org
Thu Feb 1 08:11:09 UTC 2024


On Wed, 31 Jan 2024 10:24:20 GMT, Karthik P K <kpk at 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.
>
> Karthik P K has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix issue with multiline text

I will work on the inline node issue and the issue in Rich text area. The rich text area issue is basically because of the repeated text node BOLD. Im not really sure if the increased scale is causing any issue, I will get into it.

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

PR Comment: https://git.openjdk.org/jfx/pull/1323#issuecomment-1920730601


More information about the openjfx-dev mailing list