Description: In the attached document, the first right-to-left paragraph with Persian alphabet and footnotes is fully justified. When the document is opened freshly, the justification is messed up and the lines of text undershoot or overshoot the content area boundary (see the screenshot). The paragraph renders flawlessly when we start editing e.g. insert a new paragraph with Enter. The second paragraph with the same content but without the footnotes is just fine. Steps to Reproduce: Open the attached document. Press enter to insert a new paragraph so to fix the justification Actual Results: Open the attached document. Expected Results: The first paragraph should be fully justified like the second one. Reproducible: Always User Profile Reset: Yes Additional Info: justify the first paragraph properly
Created attachment 167283 [details] a writer document to show the bug
Created attachment 167284 [details] screenshot showing the problem
I confirm ith with Version: 7.2.0.0.alpha0+ (x64) Build ID: 315c7570c4a72f4c834086082825533b1e50d1bf CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded
Created attachment 170090 [details] Writer document exhibiting the bug Uploaded a version of the document in which the font is manually set to Liberation Sans Serif ; as the original document may be rendered in Liberation serif - that's what happened for me - in which case you don't see the bug: https://i.imgur.com/Jrf1s00.png .
Created attachment 170100 [details] character rendering problem even with Liberation Sans font
I don't have "Liberation Sans Serif" on my system but I get your same result (in the screenshot) with "Liberation Sans" font on Debian. However, even though the justification seems alright, some characters are misrepresented (new attached image). If you enter to insert a new paragraph they render alright. By the way, I tried other Farsi fonts (other than Liberation Sans) and I get the same justification glitch. thanks
Created attachment 181630 [details] Document exhibiting the bug with LibreOffice Sans font With this document, the bug is manifested differently: A bunch of extra space appears near the 1 and the parenthesis to its right. If you press Enter and Backspace, the extra space disappears and the first paragraph becomes identical to the second. See screenshot in attachment #170100 [details]. Tested with: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 5c68399e6bea3aa18477487400f8bb143d6ed84e CPU threads: 4; OS: Linux 5.18; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US
*** This bug has been marked as a duplicate of bug 92091 ***