Created attachment 202825 [details] test file Justified lines do not perfectly align on the right side, I notice this when including combinations of dashes and spaces in the line. the attached file and screenshot demonstrates a minor occurrence of this that I was able to re-create in a minimal test case.
Created attachment 202826 [details] Screenshot This screenshot image shows the misalignment
Hi. I was able to observe the same behaviour with sentences that have/have not “-”. Bug summary : Symbol minus is smaller in width that a letter Steps to reproduce:(photo-letters) 1.Create new text file 2. Select “Justified lines” option(or CTRL+J) 3.Write Line1: A B C D E F G | Line2: A - C - E - G | 4. See where is situated “|” Expected result: “|” from line 2 should be under “|” from line1 Actual result: “|” from line 2 is on the left “|” from line1 I’ve made the same scenario with numbers:(photo-numbers) Line1: 1 2 3 4 5 6 7 | Line2: 1 – 3 – 5 – 7 | Here “-” has the same width as a number and “|” from line 2 is under “|” from line1 Technical details Version: LibreOffice 25.8.1 OS: Windows 10
Created attachment 203248 [details] photo-letters
Created attachment 203249 [details] photo-numbers
Hi. I was able to observe the same behavior with sentences that have/have not "-". Bug summary : Special characters influence justified alignment for paragraphs Steps to reproduce:(photo-letters) 1.Create new text file 2. Go to “Format” -> “Paragraph…” -> "Alignment" -> Select Options: Justified , Last line: Justified, check “Expand single word” and “ Snap to text grid(if active) -> Click Ok 3.Write Line1: AA| Line2: A space B space space C space space D space space space E space space space space space| Line3: **************| Line4: 25 spaces | Line5: A space B space C space D| (I will add this file) 4. See where is situated “|” Expected result: “|” should be in the same place for all lines Actual result: “|” is not in the same place for all lines Tests: Use another special characters (*) -> reproducing Use space without dashes -> reproducing Use one special character/space -> not reproducing Technical details Version: LibreOffice 25.8.1 OS: Windows 10
Created attachment 203260 [details] special-characters-alignment
Created attachment 203261 [details] special-characters-alignment
(In reply to Sandy from comment #2) > Hi. I was able to observe the same behaviour with sentences that have/have > not “-”. > > Bug summary : Symbol minus is smaller in width that a letter > > Steps to reproduce:(photo-letters) > 1.Create new text file > 2. Select “Justified lines” option(or CTRL+J) > 3.Write > Line1: A B C D E F G | > Line2: A - C - E - G | > 4. See where is situated “|” > > Expected result: “|” from line 2 should be under “|” from line1 > Actual result: “|” from line 2 is on the left “|” from line1 > > > I’ve made the same scenario with numbers:(photo-numbers) > Line1: 1 2 3 4 5 6 7 | > Line2: 1 – 3 – 5 – 7 | > > Here “-” has the same width as a number and “|” from line 2 is under “|” > from line1 > > > Technical details > Version: LibreOffice 25.8.1 > OS: Windows 10 This is not the behavior for this bug. Please skip this comment. Thank you.
Already seen in 7.0 and oldest of linux-43all repo.