RFR: 8330559: Trailing space not rendering correctly in TextFlow in RTL mode [v3]

Karthik P K kpk at openjdk.org
Thu Jun 6 16:46:39 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1468/files
  - new: https://git.openjdk.org/jfx/pull/1468/files/2798cc84..148a109a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1468&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1468&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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


More information about the openjfx-dev mailing list