https://bugs.documentfoundation.org/show_bug.cgi?id=158900

            Bug ID: 158900
           Summary: A line with a long trailing spaces, followed by manual
                    line break, moves the break to the next line
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 191608
  --> https://bugs.documentfoundation.org/attachment.cgi?id=191608&action=edit
Spaces in ends of lines

The attached DOCX opens as four lines in Word. In Writer, an extra empty line
gets inserted after second line.

The reason is that in the second line, after the 1001 spaces inserted after the
"Lorem ipsum" text, there is a manual line break. Unlike the first line, which
has only 11 spaces after the "Lorem Ipsum" text, the second line's spaces go
far beyond the right margin. That makes Writer split the line in the end of the
spaces, but it doesn't take care about the following line break.

Note that this behavior is a violation of Unicode Line Breaking Algorithm's
non-tailorable rule LB6 "Do not break before hard line breaks".


[1] https://www.unicode.org/reports/tr14/#LB6

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to