Created attachment 197236 [details] Excessive overlap of joined characters in a justified text box Description: Even with the recent fixes for kashida placement (for example, tdf#151748), you can still see places where two joining characters have overlapped excessively, and the result is visible defects in the text rendering. Steps to Reproduce: 1. Open attachment 183252 [details] 2. Go to the second page and zoom in to see the rendering Actual Results: Excessive overlapping between joining characters Expected Results: Joining characters should not overlap excessively. Joining should be done in a way that there is no gap, but it should not be excessive. In a test for such cases in a justified text, I have previously set ~10% overlap at max. But, this is just a rough value. tdf#139627 Test justified Arabic/Persian text to avoid gaps/big overlaps https://gerrit.libreoffice.org/c/core/+/138328 Reproducible: Always User Profile Reset: No Additional Info: The problem happens with the latest LO 25.2 dev master: Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9517639bc3189e3ea4dc4d2f7004d4b33d754d47 CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Please note that this issue is not about misplacing an extra kashida character, but rather about slightly misplacing the characters themselves. On the other hand, this issue IS related to kashida, as joining characters (almost always) have a small horizontal half line, in the left and/or right part of them. With this half lines, printed Arabic/Persian characters overlap and join together.