render: Fix rendering of TAL_GAP rules.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 16 Apr 2011 05:26:43 +0000 (22:26 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 16 Apr 2011 05:26:43 +0000 (22:26 -0700)
commit02c2f23a15c9d7b47d17eaf6aeda216120da5374
tree46f98e37b80bf508eb0dd33a24f56164675fdb3a
parent1647299dd3bd2679933d4fd790b4e2a1c6305fb5
render: Fix rendering of TAL_GAP rules.

A rule that is set to TAL_GAP is supposed to have the same width or
height as a rule of type TAL_1, but without drawing the line.  That
is, it is supposed to be a small blank space between rows or columns.

Unfortunately, TAL_GAP was not implemented properly in the rendering
code.  It was treated just like TAL_0, which meant that it was ignored
and no gap appeared.

This commit implements TAL_GAP, fixing the problem.
src/output/render.c
tests/output/render.at