Set vertical glue for ragged and flushed pages

This commit is contained in:
gloamxun committed 2026-10-23 04:13:12 +08:00
1 parent 448152cea4
commit 00c23a3511
6 files changed
+143 -14

No files matched your search

+3
View File
@@ -388,6 +388,9 @@ impl Page {
VerticalItem::Glue(height) => {
y += (*height).max(0);
}
VerticalItem::StretchGlue(glue) => {
y += glue.width.max(0);
}
VerticalItem::Math {
atom,
height,