libtxt: refactoring of paragraph layout to improve text justification (#4178)
This changes Paragraph::Layout to iterate line-by-line through the text. For each line, Layout scans for word boundaries and adds extra space between words if the line is justified.
Showing
想要评论请 注册 或 登录