aboutsummaryrefslogtreecommitdiffstatshomepage
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
commita5999c0c13a2a8d3cc4f5efc4f8f977a0cc8d326 (patch)
tree9237e180442546e47a6443d2dc1db333e7ca82f1 /term.h
parentdfaa88b92e98290528c2dec012e0186375a89b4a (diff)
downloadmandoc-a5999c0c13a2a8d3cc4f5efc4f8f977a0cc8d326.tar.gz
mandoc-a5999c0c13a2a8d3cc4f5efc4f8f977a0cc8d326.tar.zst
mandoc-a5999c0c13a2a8d3cc4f5efc4f8f977a0cc8d326.zip
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/term.h b/term.h
index 4c8e34ed..a706ab61 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.71 2010/06/30 12:30:36 kristaps Exp $ */
+/* $Id: term.h,v 1.72 2010/06/30 13:00:00 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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) */