mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 14:22:39 +00:00
Center, Bottom and Justify moved the lines down without looking at text wraps, so a number aligned to the bottom of its frame was drawn over a bar whose wrap should have kept it above the bar. The lines now move down only as far as the wraps under them allow. A baseline comes down to the top of a wrap under its slot, and a table fragment stops with its bottom there. Contour wraps are checked along the band each line sweeps through, beside the line as well as under it. Only wraps that reach into a line's column count, as when the lines are set. Center and Bottom move the lines together by the least room; Justify keeps the first row in place and limits each later row by the wrap under it. An anchored object that moves with its line is skipped under Center and Bottom.