diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-14 01:43:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-14 01:43:14 +0000 |
commit | 9680b7282e62aa4b1c49f8ee927df097cbe37246 (patch) | |
tree | c0c9ddf7188152d1c2c6afe7b3812152e3a42950 | |
parent | 801cd6d3288d6577a3a44657a8f4a8ce76072091 (diff) | |
download | mandoc-9680b7282e62aa4b1c49f8ee927df097cbe37246.tar.gz |
Parse and ignore the .fam (font family) request.
Fixes irunner(1) in devel/ipython and uim-xim(1) in inputmethods/uim.
Thanks to naddy@ for bringing these to my attention.
-rw-r--r-- | roff.7 | 6 | ||||
-rw-r--r-- | roff.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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. @@ -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 }, |