*** empty log message ***

This commit is contained in:
Andrey Kiselev 2002-10-07 13:15:29 +00:00
parent e84a6b819a
commit e985fcbddb

View File

@ -1,4 +1,4 @@
/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.11 2002-10-07 12:49:32 dron Exp $ */ /* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.12 2002-10-07 13:15:29 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -611,8 +611,11 @@ TIFF2PS(FILE* fd, TIFF* tif, float pw, float ph, double lm, double bm, int cnt)
if (rotate) if (rotate)
fputs ("1 1 translate 180 rotate\n", fd); fputs ("1 1 translate 180 rotate\n", fd);
} }
} else } else {
fprintf(fd, "%f %f scale\n", prw, prh); fprintf(fd, "%f %f scale\n", prw, prh);
if (rotate)
fputs ("1 1 translate 180 rotate\n", fd);
}
PSpage(fd, tif, w, h); PSpage(fd, tif, w, h);
fprintf(fd, "end\n"); fprintf(fd, "end\n");
fprintf(fd, "grestore\n"); fprintf(fd, "grestore\n");