Support ragged-right paragraphs with an infinite rightskip

This commit is contained in:
gloamxun committed 2026-10-23 04:08:32 +08:00
1 parent f488dd3b6c
commit 448152cea4
7 files changed
+81 -10

No files matched your search

+1
View File
@@ -409,6 +409,7 @@ fn build_document(paragraphs: &[SourceParagraph]) -> Document {
left_skip: paragraph.left_skip * SCALE,
centered: paragraph.centered,
right_aligned: paragraph.right_aligned,
ragged_right: false,
right_skip: 0,
hang_indent: 0,
hang_after: 1,