RFR: 8330559: Trailing space not rendering correctly in TextFlow in RTL mode [v3]
Andy Goryachev
angorya at openjdk.org
Thu Jun 6 16:56:50 UTC 2024
On Thu, 6 Jun 2024 16:46:39 GMT, Karthik P K <kpk at openjdk.org> wrote:
>> The issue is specific to Mac. The glyph positions returned from native side for complex text is not handled in the text render logic. This issue is observed only when trailing spaces are present along with LTR text mixed with RTL text (Example: "Arabic: العربية").
>>
>> Made changes in `getPosX` of `TextRun` class to handle negative values.
>>
>> Tested the changes manually with the sample code present in the bug and using the MonkeyTester.
>
> Karthik P K has updated the pull request incrementally with one additional commit since the last revision:
>
> Typo fix
Found another problem: the offset of the whole string appears to be incorrect after the fix:

-------------
PR Comment: https://git.openjdk.org/jfx/pull/1468#issuecomment-2152985278
More information about the openjfx-dev
mailing list