summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-07-31 21:43:08 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-07-31 21:43:08 +0000
commit3899aa7d9f9840170b2e9994620915755836cb36 (patch)
treefdd6b73a9dffcbaf843f41b1b41ea98aec410645 /usr.bin/mandoc/term.h
parent95555926e891428a659b23aaeaa8442245823c11 (diff)
Merge bsd.lv version 1.10.5: last larger batch of bug fixes before release.
NOT including Kristaps' .Bd -literal changes which cause regressions. Features: * -Tpdf now fully working Bugfixes: * proper handling of quoted strings by .ds in roff(7) * allow empty .Dd * make .Sm start no-spacing after the first output word * underline .Ad * minor fixes in -Thtml and some optimisations in terminal output.
Diffstat (limited to 'usr.bin/mandoc/term.h')
-rw-r--r--usr.bin/mandoc/term.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/mandoc/term.h b/usr.bin/mandoc/term.h
index fd67cd9493f..102cb18fa22 100644
--- a/usr.bin/mandoc/term.h
+++ b/usr.bin/mandoc/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.26 2010/07/25 18:05:54 schwarze Exp $ */
+/* $Id: term.h,v 1.27 2010/07/31 21:43:07 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -64,9 +64,11 @@ struct termp_ps {
size_t left; /* body left (AFM units) */
size_t header; /* header pos (AFM units) */
size_t footer; /* footer pos (AFM units) */
- size_t pdfbytes;
- size_t pdflastpg;
- size_t pdfbody;
+ size_t pdfbytes; /* current output byte */
+ size_t pdflastpg; /* byte of last page mark */
+ size_t pdfbody; /* start of body object */
+ size_t *pdfobjs; /* table of object offsets */
+ size_t pdfobjsz; /* size of pdfobjs */
};
struct termp {