On Wed, 26 Nov 2025 21:24:25 GMT, Andy Goryachev <[email protected]> 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
