summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-30 13:00:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-30 13:00:00 +0000
commitde69a5a63c219ce6b90876a9ebab6a38ff9618f2 (patch)
tree925deb020d843c9269a8ad708d3351d4a883cfa8 /term.h
parent1c345c57d0409711abb1ac63246e87a2cb57326f (diff)
downloadmandoc-de69a5a63c219ce6b90876a9ebab6a38ff9618f2.tar.gz
PostScript can now handle scaled glyph sizes (see "scale" in struct
termp_ps) to arbitrarily scale font. Tested with 10 (default), 12, 14.
Diffstat (limited to 'term.h')
-rw-r--r--term.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/term.h b/term.h
index 755b6b95..94d8f891 100644
--- a/term.h
+++ b/term.h
@@ -52,6 +52,7 @@ struct termp_ps {
size_t psmargcur; /* cur index in margin buf */
char last; /* character buffer */
enum termfont lastf; /* last set font */
+ size_t scale; /* font scaling factor */
size_t pages; /* number of pages shown */
size_t lineheight; /* line height (AFM units) */
size_t top; /* body top (AFM units) */