> 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: Fixing the issue in CTGlyphLayout class ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1468/files - new: https://git.openjdk.org/jfx/pull/1468/files/25def304..2798cc84 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1468&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1468&range=00-01 Stats: 21 lines in 2 files changed: 14 ins; 7 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/1468.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1468/head:pull/1468 PR: https://git.openjdk.org/jfx/pull/1468