Record multi-width pdfTeX line-break differences

This commit is contained in:
gloamxun committed 2026-10-20 12:30:22 +08:00
1 parent db72c7775d
commit 57c3282ff9
1 file changed
+12
+12
View File
@@ -82,6 +82,18 @@ next paragraph milestones.
- The M1 paragraph builder uses a CMR10 ASCII metric table; it does not yet
hyphenate, honor all penalties, apply kerning/ligatures, or parse arbitrary TFM files.
Multi-width pdfTeX comparison (same 24-word ASCII paragraph):
| `\hsize` | pdfTeX words per line | current DP |
| --- | --- | --- |
| 120pt | 5, 6, 7, 4 | 3, 4, 4, 4, 5 |
| 150pt | 6, 7, 6, 4 | 4, 5, 6, 6 |
| 180pt | 7, 7, 8 | 7, 7, 8 |
| 200pt | 8, 7, 7 | 6, 7, 9 |
The remaining difference is the TeX tolerance/demerit model, not CMR10
metrics: TeX accepts moderately overfull lines that our DP rejects.
- Page breaking only handles vertical boxes/glue; vertical penalties are recorded
but not interpreted.
- No macro state, output routine, math, fonts or PDF output in the new core yet.