summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roff.76
-rw-r--r--roff.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/roff.7 b/roff.7
index c7d5c9d5..d84060e9 100644
--- a/roff.7
+++ b/roff.7
@@ -638,6 +638,12 @@ Begin an equation block.
See
.Xr eqn 7
for a description of the equation language.
+.Ss \&fam
+Change the font family.
+This line-scoped request is intended to have one argument specifying
+the font family to be selected.
+It is a groff extension, and currently, it is ignored including its
+arguments, and the number of arguments is not checked.
.Ss \&hy
Set automatic hyphenation mode.
This line-scoped request is currently ignored.
diff --git a/roff.c b/roff.c
index e5f1a33b..352e5549 100644
--- a/roff.c
+++ b/roff.c
@@ -46,6 +46,7 @@ enum rofft {
ROFF_de1,
ROFF_ds,
ROFF_el,
+ ROFF_fam,
ROFF_hy,
ROFF_ie,
ROFF_if,
@@ -235,6 +236,7 @@ static struct roffmac roffs[ROFF_MAX] = {
{ "de1", roff_block, roff_block_text, roff_block_sub, 0, NULL },
{ "ds", roff_ds, NULL, NULL, 0, NULL },
{ "el", roff_cond, roff_cond_text, roff_cond_sub, ROFFMAC_STRUCT, NULL },
+ { "fam", roff_line_ignore, NULL, NULL, 0, NULL },
{ "hy", roff_line_ignore, NULL, NULL, 0, NULL },
{ "ie", roff_cond, roff_cond_text, roff_cond_sub, ROFFMAC_STRUCT, NULL },
{ "if", roff_cond, roff_cond_text, roff_cond_sub, ROFFMAC_STRUCT, NULL },