RFR: 8330559: Trailing space not rendering correctly in TextFlow in RTL mode
Ziad El Midaoui
zelmidaoui at openjdk.org
Wed Dec 3 14:33:04 UTC 2025
On Wed, 26 Nov 2025 21:24:25 GMT, Andy Goryachev <angorya 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.
>
> Updated reproducer: https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/bugs/TextFlow_ExtraSpace_8330559.java
@andy-goryachev-oracle I have provided a fix for [JDK-8318095](https://bugs.openjdk.org/browse/JDK-8318095) in PR [1995](https://github.com/openjdk/jfx/pull/1995).
It doesn't impact the changes in this PR as mentioned, you can review it and let me know your suggestions for both PRs
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1988#issuecomment-3607145473
More information about the openjfx-dev
mailing list