RFR: 8319844 : Text/TextFlow.hitTest() is incorrect in RTL orientation [v10]
Karthik P K
kpk at openjdk.org
Wed Feb 7 10:47:08 UTC 2024
On Wed, 7 Feb 2024 10:43:12 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 emoji issue
The issue with emojis and tabs are fixed.
In Monkey tester with RichText option selected, I see issue in the last line shown in the screenshot below.

Since the emoji itself is not rendered properly I don't think it is an issue relevant to this PR.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1323#issuecomment-1931769144
More information about the openjfx-dev
mailing list