Align halign cells and respect topskip on float pages

This commit is contained in:
gloamxun committed 2026-10-20 12:47:29 +08:00
1 parent bf24a7c1da
commit 753aac632d
2 files changed
+106 -5

No files matched your search

+3 -1
View File
@@ -102,7 +102,9 @@ its tolerance but still emits the moderately overfull 5-word line. Reproducing
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.
rows as a `VerticalItem::Halign`; `Halign::cell_box` returns each cell's
aligned rectangle for a future painter. It is not yet painted by v2.
- Pages that start with a float also honour `Document::top_skip`.
- `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`.