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

Ziad El Midaoui zelmidaoui at openjdk.org
Mon Dec 15 11:53:22 UTC 2025


> Fix trailing space present for complex text ( LTR text with RTL text ) Example: "Arabic: العربية"
> Added case to handle complex text in `getPosX` of `TextRun`
> Tested the changes with the code present in the bug.

Ziad El Midaoui has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'openjdk:master' into 8319050.TextFlowRTL
 - Merge branch 'openjdk:master' into 8319050.TextFlowRTL
 - minor changes
 - Fix Trailing space in TextFlow in RTL

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1988/files
  - new: https://git.openjdk.org/jfx/pull/1988/files/1c49122c..b410db37

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

  Stats: 1448 lines in 35 files changed: 1184 ins; 158 del; 106 mod
  Patch: https://git.openjdk.org/jfx/pull/1988.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1988/head:pull/1988

PR: https://git.openjdk.org/jfx/pull/1988


More information about the openjfx-dev mailing list