=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -p -r1.50 -r1.51 --- mandoc/man_term.c 2009/11/10 11:45:57 1.50 +++ mandoc/man_term.c 2009/11/10 12:03:30 1.51 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.50 2009/11/10 11:45:57 kristaps Exp $ */ +/* $Id: man_term.c,v 1.51 2009/11/10 12:03:30 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -876,9 +876,13 @@ print_man_node(DECL_ARGS) if (c && n->child) print_man_body(p, mt, n->child, m); - if (MAN_TEXT != n->type) + if (MAN_TEXT != n->type) { if (termacts[n->tok].post) (*termacts[n->tok].post)(p, mt, n, m); + + /* Reset metafont upon exit from macro. */ + p->metafont = 0; + } }