render: Fix rendering corner cases when a cell is broken across pages.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Jul 2014 00:44:30 +0000 (17:44 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Jul 2014 00:44:45 +0000 (17:44 -0700)
commitf86a0b3b5dd8be4fb750db00d829edb8c2a809f2
tree07da10ff383af64a2b289602d866a6179aaa5396
parente65ab367928886d0bc172147132dfa3293ff6f7c
render: Fix rendering corner cases when a cell is broken across pages.

The rendering code ability to break individual cells across multiple pages
has never received good test coverage because the criteria for doing that
are strict enough that the testsuite hardly ever does it.  This commit adds
a "--min-break=0" version to each test in the testsuite, which uncovers a
number of bugs in the cell breaking code.  It also fixes those bugs.
src/output/render.c
tests/output/render.at