From 3b3aaab0352b702195460124cd2c17cfd0ca5dbc Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 16 May 2021 22:28:27 +0000 Subject: test font modifiers in the layout; related to tbl_html.c rev. 1.34 --- regress/tbl/layout/Makefile | 5 +++-- regress/tbl/layout/font.in | 16 ++++++++++++++++ regress/tbl/layout/font.out_ascii | 20 ++++++++++++++++++++ regress/tbl/layout/font.out_html | 10 ++++++++++ 4 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 regress/tbl/layout/font.in create mode 100644 regress/tbl/layout/font.out_ascii create mode 100644 regress/tbl/layout/font.out_html diff --git a/regress/tbl/layout/Makefile b/regress/tbl/layout/Makefile index 61fb6ad4..5fd5e65e 100644 --- a/regress/tbl/layout/Makefile +++ b/regress/tbl/layout/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.6 2020/01/11 20:56:26 schwarze Exp $ +# $OpenBSD: Makefile,v 1.8 2021/05/16 22:23:57 schwarze Exp $ -REGRESS_TARGETS = badspan center complex empty emptycol emptyline +REGRESS_TARGETS = badspan center complex empty emptycol emptyline font REGRESS_TARGETS += lines lines-nogroff numbers REGRESS_TARGETS += shortlines spacing spacing-nogroff span LINT_TARGETS = badspan complex empty spacing-nogroff +HTML_TARGETS = font # groff-1.22.4 defects: # - When the layout is completely empty, diff --git a/regress/tbl/layout/font.in b/regress/tbl/layout/font.in new file mode 100644 index 00000000..98d87f9e --- /dev/null +++ b/regress/tbl/layout/font.in @@ -0,0 +1,16 @@ +.\" $OpenBSD: font.in,v 1.1 2021/05/16 22:23:57 schwarze Exp $ +.TH TBL-LAYOUT-FONT 1 "May 16, 2021" +.SH NAME +tbl-layout-font \- font modifiers in the table layout +.SH DESCRIPTION +BEGINTEST +.TS +box tab(:); +lb r +l ri. +bold:roman +_ +roman:italic +.TE +.PP +ENDTEST diff --git a/regress/tbl/layout/font.out_ascii b/regress/tbl/layout/font.out_ascii new file mode 100644 index 00000000..315ec460 --- /dev/null +++ b/regress/tbl/layout/font.out_ascii @@ -0,0 +1,20 @@ +TBL-LAYOUT-FONT(1) General Commands Manual TBL-LAYOUT-FONT(1) + + + +NNAAMMEE + tbl-layout-font - font modifiers in the table layout + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + + +---------------+ + |bboolldd roman | + +---------------+ + |roman _i_t_a_l_i_c | + +---------------+ + ENDTEST + + + +OpenBSD May 16, 2021 TBL-LAYOUT-FONT(1) diff --git a/regress/tbl/layout/font.out_html b/regress/tbl/layout/font.out_html new file mode 100644 index 00000000..1910e9a5 --- /dev/null +++ b/regress/tbl/layout/font.out_html @@ -0,0 +1,10 @@ + + + + + + + + + +
boldroman
romanitalic
-- cgit v1.2.3-56-ge451