mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-11 13:24:35 +00:00
A table row's height was measured under the table's SOM path, without the row instance, while draw_row draws its cells under row[n]. A cell that grows with its text (a multi-line field without a height) then found no value: every instance took the empty height, and a long value was drawn in a short slot over the rows after it (XFA 3.3, "Tables", p. 327; "Growable Containers", p. 275). row_height now takes the instance index and measures under that instance's path, as draw_row does. Table measurement sums each instance's own height, and flowed and positioned tables size each instance (and the overflow leader) on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0175FWj4xFhMhSH3UpMU8DSC