diff --git a/tools/tiff2ps.c b/tools/tiff2ps.c index 92ab85a9..0bc88391 100644 --- a/tools/tiff2ps.c +++ b/tools/tiff2ps.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.18 2003-08-08 19:46:20 dron Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.19 2003-08-12 07:51:03 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -28,6 +28,7 @@ #include /* for atof */ #include #include +#include #include "tiffio.h" @@ -598,6 +599,9 @@ TIFF2PS(FILE* fd, TIFF* tif, float pw, float ph, double lm, double bm, int cnt) fprintf(fd, "1 dict begin /PageSize [ %f %f ] def currentdict end setpagedevice\n", psw, psh); + fputs( + "<<\n /Policies <<\n /PageSize 3\n >>\n>> setpagedevice\n", + fd); } fprintf(fd, "gsave\n"); fprintf(fd, "100 dict begin\n");