Document insertion units

This commit is contained in:
gloamxun committed 2026-10-20 12:46:03 +08:00
1 parent fe0defd671
commit bf24a7c1da
1 file changed
+3
+3
View File
@@ -103,6 +103,9 @@ this needs a two-pass tolerance algorithm with an emergency overfull pass, not
a single cost function.
- `Unit::halign` lays out natural column widths, multi-column spans and rule
rows as a `VerticalItem::Halign`; it is not yet painted by the v2 PDF path.
- `Unit::vertical` and `Unit::insertion` build arbitrary vertical material and
reserved-height page insertions; insertion height is deducted from the
usable page goal and the material is attached to `Page::insertions`.
- Page breaking handles vertical boxes/glue, `Document::top_skip` and forced
vertical penalties (`penalty <= -10000`); positive penalties are recorded
but not yet part of page badness. `VerticalItem::Insertion` material is