diff options
| author | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-25 01:32:40 +0000 |
|---|---|---|
| committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-25 01:32:40 +0000 |
| commit | 6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5 (patch) | |
| tree | b0f9734269df7b90bac3701dd8a4ac62cc8550f0 /roff.c | |
| parent | a93cab0159f106fce2adae204f5e9a1011800296 (diff) | |
| download | mandoc-6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5.tar.gz mandoc-6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5.zip | |
Implement the \f(CW and \f(CR (constant width font) escape sequences
for HTML output. Somewhat relevant because pod2man(1) relies on this.
Missing feature reported by Pali dot Rohar at gmail dot com.
Note that constant width font was already correctly selected before
this when required by semantic markup. Only attempting physical
markup with the low-level escape sequence was ineffective.
Diffstat (limited to 'roff.c')
| -rw-r--r-- | roff.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.341 2018/08/25 16:53:39 schwarze Exp $ */ +/* $Id: roff.c,v 1.342 2018/10/25 01:32:40 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -3361,6 +3361,7 @@ roff_char(ROFF_ARGS) case ESCAPE_FONTITALIC: case ESCAPE_FONTBOLD: case ESCAPE_FONTBI: + case ESCAPE_FONTCW: case ESCAPE_FONTPREV: font++; break; |
