Bug 154355 - Support a paragraph-scope line breaking algorithm
Summary: Support a paragraph-scope line breaking algorithm
Status: RESOLVED DUPLICATE of bug 38159
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-24 00:06 UTC by Eyal Rozenberg
Modified: 2023-04-09 03:26 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***