summaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-05 08:40:16 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-05 08:40:16 +0000
commitd80276536610615caffcc3d1d5ffc405bfc5cc26 (patch)
treebb51d17964d6cda2548ff51c7f0cf7ae818099a0 /term.h
parentcb156f15852e81dc6e6cda189a91729f275f6c46 (diff)
downloadmandoc-d80276536610615caffcc3d1d5ffc405bfc5cc26.tar.gz
mandoc-d80276536610615caffcc3d1d5ffc405bfc5cc26.tar.zst
mandoc-d80276536610615caffcc3d1d5ffc405bfc5cc26.zip
Correct support for `\fX' font modes in -Tascii.
Diffstat (limited to 'term.h')
-rw-r--r--term.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/term.h b/term.h
index f0d82016..46c8b509 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.49 2009/10/18 19:03:37 kristaps Exp $ */
+/* $Id: term.h,v 1.50 2009/11/05 08:40:16 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -43,6 +43,10 @@ struct termp {
#define TERMP_ANPREC (1 << 13) /* See termp_an_pre(). */
int bold;
int under;
+ int metafont; /* See do_escaped(). */
+#define METAF_BOLD (1 << 0)
+#define METAF_UNDER (1 << 1)
+ int metamask; /* See do_escaped(). */
char *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
void *symtab; /* Encoded-symbol table. */