diff --git a/docs/TEX_CORE.md b/docs/TEX_CORE.md index 68c9de9..de185fe 100755 --- a/docs/TEX_CORE.md +++ b/docs/TEX_CORE.md @@ -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.