Match Times interword glue to the TeX layout

With only the 11.5pt baselineskip, page 1 was fixed but the 2.1 paragraph
still took seven lines instead of six and pushed the equation to y=190. Use
Times glue of 2.5/1.5/0.83pt; page 1 stays aligned, 2.1 returns to six lines,
and the equation number moves to y=178 (TeX: 175).

Test count stays 1080.
This commit is contained in:
gloamxun committed 2026-10-28 08:44:42 +08:00
1 parent 764436fc71
commit 423b202c54
3 files changed
+8 -4

No files matched your search

+5 -1
View File
@@ -14162,7 +14162,11 @@ fn build_document_with_labels(
space_width: 4 * SCALE,
space_stretch: 6 * SCALE,
space_shrink: 2 * SCALE,
space_skip: geometry.space_skip,
space_skip: if geometry.roman_family.as_deref() == Some("ptm") {
Some((25 * SCALE / 10, 15 * SCALE / 10, 83 * SCALE / 100))
} else {
geometry.space_skip
},
xspace_skip: geometry.xspace_skip,
};
let plain = strip_hrefs(&text).replace('~', " ");