*** empty log message ***

This commit is contained in:
Andrey Kiselev 2002-06-02 11:41:23 +00:00
parent 216ddbf235
commit b7a6cf276a

View File

@ -1,4 +1,4 @@
/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.6 2002-05-10 10:45:43 dron Exp $ */ /* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.7 2002-06-02 11:41:23 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -365,7 +365,6 @@ PhotoshopBanner(FILE* fd, uint32 w, uint32 h, int bs, int nc, char* startline)
static void static void
setupPageState(TIFF* tif, uint32* pw, uint32* ph, float* pprw, float* pprh) setupPageState(TIFF* tif, uint32* pw, uint32* ph, float* pprw, float* pprh)
{ {
// uint16 res_unit;
float xres, yres; float xres, yres;
TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, pw); TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, pw);
@ -383,6 +382,8 @@ setupPageState(TIFF* tif, uint32* pw, uint32* ph, float* pprw, float* pprh)
case RESUNIT_CENTIMETER: case RESUNIT_CENTIMETER:
xres *= 2.54, yres *= 2.54; xres *= 2.54, yres *= 2.54;
break; break;
case RESUNIT_INCH:
break;
case RESUNIT_NONE: case RESUNIT_NONE:
default: default:
xres *= PS_UNIT_SIZE, yres *= PS_UNIT_SIZE; xres *= PS_UNIT_SIZE, yres *= PS_UNIT_SIZE;
@ -1771,6 +1772,8 @@ char* stuff[] = {
" -1 generate PostScript Level I (default)", " -1 generate PostScript Level I (default)",
" -2 generate PostScript Level II", " -2 generate PostScript Level II",
" -8 disable use of ASCII85 encoding with PostScript Level II", " -8 disable use of ASCII85 encoding with PostScript Level II",
" -n override resolution units as inches",
" -c override resolution units as centimeters",
" -d # convert directory number #", " -d # convert directory number #",
" -D enable duplex printing (two pages per sheet of paper)", " -D enable duplex printing (two pages per sheet of paper)",
" -e generate Encapsulated PostScript (EPS)", " -e generate Encapsulated PostScript (EPS)",