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

+4
View File
@@ -14,6 +14,7 @@ use texrra_tex_core::{
fn body_style() -> ParagraphStyle {
let font = Cmr10Metrics::default();
ParagraphStyle {
line_expansion: 0,
font_size: 10 * 65_536,
line_width: 480 * 65_536,
left_skip: 0,
@@ -214,6 +215,7 @@ fn route_d_page_matches_pdftex_raster_geometry() {
std::fs::create_dir_all(&root).expect("create raster dir");
let style = ParagraphStyle {
line_expansion: 0,
font_size: 10 * 65_536,
line_width: 480 * 65_536,
left_skip: 0,
@@ -395,6 +397,7 @@ fn route_d_two_pages_match_pdftex_raster_geometry() {
std::fs::create_dir_all(&root).expect("create raster dir");
let style = ParagraphStyle {
line_expansion: 0,
font_size: 10 * 65_536,
line_width: 480 * 65_536,
left_skip: 0,
@@ -791,6 +794,7 @@ fn route_d_multiline_bands_track_pdftex() {
let text = "alpha beta gamma delta epsilon zeta eta theta iota kappa lambda mu";
let style = ParagraphStyle {
line_expansion: 0,
font_size: 10 * 65_536,
line_width: 150 * 65_536,
left_skip: 0,