Defer bottom floats inside the page builder
This commit is contained in:
1 parent
fd9790cf28
commit
17638996a1
3 files changed
+145
-7
No files matched your search
+5
-3
@@ -266,8 +266,10 @@ oracle fixture is ignored.
|
||||
offer the page builder a legal breakpoint. The routine cannot yet
|
||||
change page goals. The paged builder places top `Float` material at the top
|
||||
of a page and bottom `Float` material at the page bottom: a late top float
|
||||
starts the next page, a bottom float that cannot fit the remaining body
|
||||
space ends the current page and is deferred to the next page's bottom
|
||||
starts the next page, a bottom float that cannot fit is deferred to the next page's
|
||||
bottom by `PageBuilder::build_with_deferred_bottom_floats`, which keeps
|
||||
filling the current page (the default `build` path still ends the page at
|
||||
the float until the service adopts the new entry point)
|
||||
(TeX instead keeps filling the current page before deferring the float,
|
||||
which remains a documented approximation), stacked bottom floats reserve `\floatsep`, and
|
||||
`\bottomfraction` caps the bottom float share, and a page whose top floats reach `\floatpagefraction` ships without body material. Route-D preview/PDF draw
|
||||
@@ -363,7 +365,7 @@ Math coverage includes fractions/roots, scripts, `\left...\right` with body-scal
|
||||
|
||||
Paragraph units carry a `ParagraphFont`; `Unit::paragraph_with_face` and `Unit::paragraph_with_style_and_face` select Roman, bold, italic, mono, or sans. The corresponding Computer Modern TFM (`cmr10`, `cmbx10`, `cmti10`, `cmbxti10`, `cmtt10`, `cmss10`) supplies advances, kerns, ligatures, and italic correction for layout, while the display list and PDF select the matching Liberation face. `Engine::edit` preserves the face when reflowing an edited paragraph.
|
||||
|
||||
The crate currently has 304 unit tests plus seven route-D integration tests and thirty-three oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 459 tests (304 route-D unit, 7 route-D integration, 33 oracle, 71 v1 integration, 26 server, 4 v1 unit, 1 core unit, 13 binary units), with none ignored. v1 remains the live server path.
|
||||
The crate currently has 306 unit tests plus seven route-D integration tests and thirty-three oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 461 tests (306 route-D unit, 7 route-D integration, 33 oracle, 71 v1 integration, 26 server, 4 v1 unit, 1 core unit, 13 binary units), with none ignored. v1 remains the live server path.
|
||||
|
||||
### M0 incremental demo
|
||||
|
||||
|
||||
Reference in new issue
Block a user