diff options
author | Ludovic Courtès | 2008-11-25 00:02:15 +0100 |
---|---|---|
committer | Ludovic Courtès | 2008-11-25 00:02:15 +0100 |
commit | e5101032f7442c2def430141b0e2db1efc8d017d (patch) | |
tree | 87f04ecd3d3b3f01c03ed12068327284fb87d2fb /doc | |
parent | a8ace86ebdff03c9d374c54ffd3d1298ca531dda (diff) | |
download | skribilo-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 'doc')
0 files changed, 0 insertions, 0 deletions