home *** CD-ROM | disk | FTP | other *** search
- /* Copyright 1985, 1986, 1987, 1988 Chris Lewis
- All Rights Reserved
-
- Permission to copy and further distribute is freely given provided
- this copyright notice remains intact and that this software is not
- sold for profit.
-
- Project: Generic Troff drivers
- Module: dt.h
- Author: Chris Lewis
- Specs: Ditroff driver definitions
- Hacked from ps.h
- */
-
- #ifndef SVR3
- #ifndef lint
- static char dtID[] = "@(#)dt.h: 1.1 Copyright 89/06/14 17:40:54 Chris Lewis";
- #endif
- #else
- #ident "@(#)dt.h: 1.1 Copyright 89/06/14 17:40:54 Chris Lewis"
- #endif
-
- /* This is actually done in the back-end */
- #define DTRESOLUTION 432
- /* Length scaling factor */
- #define DTSCALEFACTOR ((double) DTRESOLUTION / TROFFRESOLUTION)
- /* Troff assumes 7.5" paper width, most macro packages print in
- 6.5" area within that. Sooo, we'll center the paperwidth on the
- physical page - implying .5" inch physical margins.*/
- #define TROFF2DTX(x) ((x) * DTSCALEFACTOR + DTRESOLUTION / 2)
- /* 11" paper length */
- #define TROFF2DTY(y) ((y) * DTSCALEFACTOR)
-
- extern double pagelength;
-
- #define DTLIB "lib"
- #define DTFONTS "fonts"
-
- extern int dtProlog(), dtEpilog(), dtChar(), dtPage(), dtFontSel();
-
- #define DTNAME "dt"
-
- #ifdef DT
- struct troff2befont dtSymFont[], dtStdFont[];
- #endif
-