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

Marius Hanl mhanl at openjdk.org
Thu Nov 27 10:44:05 UTC 2025


On Wed, 26 Nov 2025 15:25:44 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:

> 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.

Can this be tested with a JUnit Test? I'm asking as there are quite some problems right now with complex text, fonts and RTL. So every regression test will help in the future

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

PR Comment: https://git.openjdk.org/jfx/pull/1988#issuecomment-3585186128


More information about the openjfx-dev mailing list