From db72c7775da5cf654eec50364195c04b9c4fa111 Mon Sep 17 00:00:00 2001 From: GloamXun Date: Tue, 20 Oct 2026 12:29:12 +0800 Subject: [PATCH] Set zero parindent in pdfTeX line-break fixtures --- crates/texrra-tex-core/src/paragraph.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/texrra-tex-core/src/paragraph.rs b/crates/texrra-tex-core/src/paragraph.rs index b5c88ad..1ea3c9a 100755 --- a/crates/texrra-tex-core/src/paragraph.rs +++ b/crates/texrra-tex-core/src/paragraph.rs @@ -336,6 +336,7 @@ mod tests { let font = crate::cmr10::Cmr10Metrics::new(); let style = ParagraphStyle { line_width: 180 * 65_536, + par_indent: 0, ..ParagraphStyle::default() }; let paragraph = layout_paragraph_with_font( @@ -363,6 +364,7 @@ mod tests { let font = crate::cmr10::Cmr10Metrics::new(); let style = ParagraphStyle { line_width: 150 * 65_536, + par_indent: 0, ..ParagraphStyle::default() }; let paragraph = layout_paragraph_with_font(