From 58a26cd399ba32d2d911f924c14c7b25fc297b78 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 11 Jun 2010 16:58:20 +0000 Subject: 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. --- term.h | 1 + 1 file changed, 1 insertion(+) (limited to 'term.h') diff --git a/term.h b/term.h index 9206e4ad..3e0fdccf 100644 --- a/term.h +++ b/term.h @@ -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 { -- cgit