On Fri, 31 May 2024 14:39:00 GMT, Karthik P K <k...@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. Fixed the issue in `CTGlyphLayout`. @andy-goryachev-oracle , @hjohn please re review ------------- PR Comment: https://git.openjdk.org/jfx/pull/1468#issuecomment-2152646725