Paint math atoms in the route-D display list

This commit is contained in:
gloamxun committed 2026-10-20 13:46:54 +08:00
1 parent 38bacdfbd5
commit 946f8b1b76
4 files changed
+338 -8

No files matched your search

+2
View File
@@ -249,3 +249,5 @@ v1 remains the production renderer; the route-D core is additive and tested inde
M3 painter prototype: `Page::display_list()` / `Halign::display_list()` produce absolute text and rule primitives, and `DisplayList::to_svg()` writes a standalone SVG. Paragraph text and math are not yet painted.
Paragraph painter: `Unit::paragraph` now stores `VerticalItem::Paragraph`, and `Page::display_list()` paints each line's `HorizontalBox` characters at their line advance. Boxes created by hyphenation carry `-`; justification is approximated by item widths.
Math painter: stores ; paints symbols, rows, scripts, fractions (with a rule), roots, delimiters, accents, underlines, boxes and stacks. Script/fraction positions are simplified TeX geometry.