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
*** This bug has been marked as a duplicate of bug 38159 ***