diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-10 11:45:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-10 11:45:57 +0000 |
commit | 876f41fda129a014ca0587ee5be314bcbf7bb683 (patch) | |
tree | b8cd4c5763216a57ae5a986ce60b89b508bcf898 | |
parent | a660eb073010bda46b3d8d5731991ca036d0f1af (diff) | |
download | mandoc-876f41fda129a014ca0587ee5be314bcbf7bb683.tar.gz |
Disable metafonts when printing document footer.
-rw-r--r-- | man_term.c | 2 | ||||
-rw-r--r-- | mdoc_term.c | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -898,6 +898,8 @@ print_man_foot(struct termp *p, const struct man_meta *meta) { char buf[DATESIZ]; + p->metafont = 0; + time2a(meta->date, buf, DATESIZ); term_vspace(p); diff --git a/mdoc_term.c b/mdoc_term.c index ee2bdd3e..ba89561b 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -349,6 +349,9 @@ print_foot(DECL_ARGS) { char buf[DATESIZ], os[BUFSIZ]; + /* Disable meta-fonts. */ + p->metafont = 0; + /* * Output the footer in new-groff style, that is, three columns * with the middle being the manual date and flanking columns |