Add bounded line expansion for Times body text

This commit is contained in:
gloamxun committed 2026-10-28 23:19:16 +08:00
1 parent 8fef7df187
commit 01b3f518cb
10 files changed
+113 -9

No files matched your search

+5
View File
@@ -14287,6 +14287,11 @@ fn build_document_with_labels(
};
let style = ParagraphStyle {
line_width: paragraph.width.unwrap_or(line_width),
line_expansion: if geometry.roman_family.as_deref() == Some("ptm") {
20
} else {
0
},
left_skip,
centered,
right_aligned,