Set vertical glue for ragged and flushed pages
This commit is contained in:
1 parent
448152cea4
commit
00c23a3511
6 files changed
+143
-14
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user