2003.08.08 19:30 "[Tiff] patch for tiff2ps", by Tom Kacvinsky

2003.08.08 19:30 "[Tiff] patch for tiff2ps", by Tom Kacvinsky

The PS comment emitted when FlateDecode is being used is not correct. What we had is:

   ... PostScript Level 3 only

instead of

   ... % PostScript Level 3 only

The attached patch fixes this.

Tom

--- tiff2ps.c   Tue Aug  5 08:31:33 2003
+++ tiff2ps.c.new       Fri Aug  8 15:07:34 2003
@@ -1027,7 +1027,7 @@
           if ( level3 ) {
                          TIFFGetFieldDefaulted(tif, TIFFTAG_PREDICTOR, &predictor);
                      if (predictor > 1) {
-                          fprintf(fd, "\t % PostScript Level 3 only.");
+                          fprintf(fd, "\t %% PostScript Level 3 only.");
                          fputs("\n\t<<\n", fd);
                          fprintf(fd, "\t /Predictor %u\n", predictor);
                           fprintf(fd, "\t /Columns %lu\n",