X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/91acfd70d9400fb9d6676d88cd7924741b846397..ce544e49846f76fd73e8414d407d555f2a0af880:/term.h diff --git a/term.h b/term.h index 3e1d4df0..dc28d33e 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.74 2010/07/13 23:53:20 schwarze Exp $ */ +/* $Id: term.h,v 1.76 2010/07/25 22:15:07 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -27,7 +27,8 @@ enum termenc { enum termtype { TERMTYPE_CHAR, - TERMTYPE_PS + TERMTYPE_PS, + TERMTYPE_PDF }; enum termfont { @@ -63,6 +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; /* 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 {