summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLudovic Courtès2008-11-25 00:02:15 +0100
committerLudovic Courtès2008-11-25 00:02:15 +0100
commite5101032f7442c2def430141b0e2db1efc8d017d (patch)
tree87f04ecd3d3b3f01c03ed12068327284fb87d2fb /tools
parenta8ace86ebdff03c9d374c54ffd3d1298ca531dda (diff)
downloadskribilo-e5101032f7442c2def430141b0e2db1efc8d017d.tar.gz
skribilo-e5101032f7442c2def430141b0e2db1efc8d017d.tar.lz
skribilo-e5101032f7442c2def430141b0e2db1efc8d017d.zip
justify, text-table: Fix width rounding issues.
* src/guile/skribilo/utils/justify.scm (make-justified-line): Make ONE-SPACES inexact. (make-centered-line): Round WIDTH to an exact integer. (make-justifier): Check the type and range of WIDTH. * src/guile/skribilo/utils/text-table.scm (table->ascii): Check whether WIDTH is a number. Round LCOLSWIDTH with `round-to-exact'. (table-row-format)[cell-width]: Round W with `round-to-exact'. (table-cell-vformat): Round NEW/2. (round-to-exact): New.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions