diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-11 16:58:20 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-11 16:58:20 +0000 |
commit | 58a26cd399ba32d2d911f924c14c7b25fc297b78 (patch) | |
tree | be76cbd7c6677829504d46b83def49467bc3fec5 /term.h | |
parent | 8c998f6fb38c48a3f834b396046a65cb28997c05 (diff) | |
download | mandoc-58a26cd399ba32d2d911f924c14c7b25fc297b78.tar.gz |
Implement font-switching for PostScript. -Tps now supports
TERMFONT_BOLD (Courier-Bold) and TERMFONT_UNDER (Courier-Oblique). It
doesn't look half bad. This accomplished through tricksy juggling of
the one-char back-buffer.
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ struct termp_ps { size_t psmargcur; /* current pos in margin buf */ size_t pspage; /* current page */ char last; /* character buffer */ + enum termfont lastf; /* last set font */ }; struct termp { |