Honour forced vertical penalties in the M0 page builder

This commit is contained in:
gloamxun committed 2026-10-20 12:34:07 +08:00
1 parent 19ecb7fdc6
commit 252963f0fa
2 files changed
+54 -5

No files matched your search

+3 -2
View File
@@ -101,8 +101,9 @@ overfull ratio 4.11, badness 6942. TeX rejects the underfull candidate under
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.
- Page breaking only handles vertical boxes/glue; vertical penalties are recorded
but not interpreted.
- Page breaking handles vertical boxes/glue and forced vertical penalties
(`penalty <= -10000`); positive penalties are recorded but not yet part of
page badness.
- No macro state, output routine, math, fonts or PDF output in the new core yet.
- The v1 server and project API still use `src/rust_typeset` and are unchanged.