output: Correctly define and properly implement column width ranges.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 6 Feb 2023 16:17:28 +0000 (08:17 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 10 Feb 2023 19:07:05 +0000 (11:07 -0800)
commitc0b02c779f26fe801dbc83f1650294df03e0522a
tree3ab5021347f5f27314430905f5300b60ff9a821d
parent8c7010202f34d6648359603f6490ce2fe4084b6e
output: Correctly define and properly implement column width ranges.

I previously had the idea that SPV files had ranges for both column
widths and row heights, which didn't really make sense, since if
you fix the range of one of those you have to be flexible about the
other.  However, these settings actually control just column widths,
in two sets of columns: the columns for row headings and the columns
for column headings.  This implements those properly.
13 files changed:
doc/dev/spv-file-format.texi
src/language/commands/ctables.c
src/output/cairo-fsm.c
src/output/pivot-table.c
src/output/pivot-table.h
src/output/render.c
src/output/render.h
src/output/spv/light-binary.grammar
src/output/spv/spv-legacy-decoder.c
src/output/spv/spv-light-decoder.c
src/output/spv/spv-table-look.c
src/output/spv/spv-writer.c
src/output/spv/tlo.grammar