summaryrefslogtreecommitdiffstats
path: root/tbl_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-04 17:47:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-04 17:47:18 +0000
commit11d090857365b38952fcebea7015e2d8b3bcf3e9 (patch)
tree28e4ba261ce74b17ecacf6a8079735596f69116f /tbl_html.c
parent1eb78526299027f34b6c7cc779729565d0c752aa (diff)
downloadmandoc-11d090857365b38952fcebea7015e2d8b3bcf3e9.tar.gz
Rounding rules for horizontal scaling widths are more complicated.
There is a first rounding to basic units on the input side. After that, rounding rules differ between requests and macros. Requests round to the nearest possible character position. Macros round to the next character position to the left. Implement that by changing the return value of term_hspan() to basic units and leaving the second scaling and rounding stage to the formatters instead of doing it in the terminal handler. Improves for example argtable2(3).
Diffstat (limited to 'tbl_html.c')
0 files changed, 0 insertions, 0 deletions