Bug 154355

Summary: Support a paragraph-scope line breaking algorithm
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: medium    
Version: 7.6.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=154356
Whiteboard:
Crash report or crash signature: Regression By:

Description Eyal Rozenberg 2023-03-24 00:06:33 UTC
LO and MSO implement a simplistic algorithm for line breaking: Try placing as many words as possible on each line, given what's on previous lines. However, this often results in somewhat less pleasant - more ragged - paragraphs.

It would be nice - at least as a configurable option - to have a more involved algorithm which optimizes for less raggedness, perhaps like the one used in TeX. 

See:

https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap
Comment 1 ⁨خالد حسني⁩ 2023-04-08 11:03:15 UTC

*** This bug has been marked as a duplicate of bug 38159 ***