=================================================================== RCS file: /cvs/mandoc/mandoc.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -p -r1.60 -r1.61 --- mandoc/mandoc.c 2011/10/24 20:30:57 1.60 +++ mandoc/mandoc.c 2011/11/06 14:43:14 1.61 @@ -1,4 +1,4 @@ -/* $Id: mandoc.c,v 1.60 2011/10/24 20:30:57 schwarze Exp $ */ +/* $Id: mandoc.c,v 1.61 2011/11/06 14:43:14 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -369,8 +369,15 @@ out: switch (gly) { case (ESCAPE_FONT): - if (1 != rlim) + /* + * Pretend that the constant-width font modes are the + * same as the regular font modes. + */ + if (2 == rlim && 'C' == *rstart) + rstart++; + else if (1 != rlim) break; + switch (*rstart) { case ('3'): /* FALLTHROUGH */