Implement w layout specifier (minimum column width).
authorschwarze <schwarze@openbsd.org>
Thu, 8 Jun 2017 18:11:15 +0000 (18:11 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 8 Jun 2017 18:11:15 +0000 (18:11 +0000)
commit2c3e66c426702142f6874d869c4af553cb7036ae
tree197a82795e14b942356980230f008f13271f2e00
parentc7b13d50404c686e9235371d7fba3e96348a8d6d
Implement w layout specifier (minimum column width).
Improve width calculation of text blocks.
Reduces the groff/mandoc diff in Base+Xenocara by about 800 lines.
12 files changed:
regress/usr.bin/mandoc/tbl/mod/Makefile
regress/usr.bin/mandoc/tbl/mod/width.in [new file with mode: 0644]
regress/usr.bin/mandoc/tbl/mod/width.out_ascii [new file with mode: 0644]
share/man/man7/tbl.7
usr.bin/mandoc/mandoc.h
usr.bin/mandoc/out.c
usr.bin/mandoc/out.h
usr.bin/mandoc/tbl.c
usr.bin/mandoc/tbl_data.c
usr.bin/mandoc/tbl_html.c
usr.bin/mandoc/tbl_layout.c
usr.bin/mandoc/tbl_term.c