output: Add support for cell margins.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 26 Nov 2018 01:01:39 +0000 (17:01 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 25 Dec 2018 20:34:55 +0000 (12:34 -0800)
commit311f2cd4115da767c61c548aa25e71e722ec937c
treed2641d6bdb3550e48504c7257ee8e9d601a50944
parent66a8687fbbe219b8c5b8d4dcd7aa2249fd55f5cf
output: Add support for cell margins.

Until now, space between cells was implemented by adding some space on the
sides of rules.  That worked fine before cells could have colored
backgrounds, but now it means that the backgrounds don't reach all the way
to the rules.  Thus, this commit adds configurable margins to the cells
themselves.
src/output/ascii.c
src/output/cairo.c
src/output/render.c
src/output/render.h
src/output/table-provider.h
src/output/table.c