Normalize halign geometry to scaled points

This commit is contained in:
gloamxun committed 2026-10-20 18:23:29 +08:00
1 parent 4c64726e61
commit 1d9b152beb
3 files changed
+38 -12

No files matched your search

+1 -1
View File
@@ -266,4 +266,4 @@ M2 (partial): a 0.4pt rule at 40% of the body width is painted above insertion m
M2 (partial): top and bottom float placeholders are painted at the page edges in display lists; real float material and float-page fractions remain.
Known route-D gap (M3): Halign row heights are stored in raw points while DisplayList/page geometry uses scaled points. The halign painter therefore cannot use its own line_height as a glyph size until Unit::halign normalizes all dimensions to scaled points; a 10pt experiment was reverted rather than shipped with a mixed-unit layout.
M3 (partial): Unit::halign normalizes column widths, intercolumn gaps, row heights and cell text widths to scaled points; the display-list painter uses a 10pt glyph size inside 12pt rows. Rules and spans are painted; page-level table splitting remains.