AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.03.15 17:44 "Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers
2000.03.15 18:00 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Frank Warmerdam
2000.03.17 16:42 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers
2000.03.17 18:34 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Frank Warmerdam
2000.03.27 17:04 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Nalin Dahyabhai
2000.03.28 18:14 "fax2ps incorrect BoundingBox", by Nalin Dahyabhai
2000.03.15 18:36 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Helge Blischke
2000.03.17 16:51 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers
2000.03.17 17:24 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Peter Smith
2000.03.21 14:57 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Thad Humphries
2000.03.21 21:23 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Rick LaMont
2000.03.22 06:08 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Tom Lane

2000.03.28 18:14 "fax2ps incorrect BoundingBox", by Nalin Dahyabhai

While looking at fax2ps, we've found that the BoundingBox is emitted with the height and width swapped, similar to the bug report on texfmt at "http://www.hylafax.org/archive/1999-09/msg00112.html". The fix is the same (and takes less space than this explanation).

I'm testing this out right now and it looks right, but would appreciate it if someone would verify it.

Nalin

================================================================================

--- tools/fax2ps.c      Mon Aug 16 23:07:43 1999
+++ tools/fax2ps.c      Tue Mar 28 13:02:08 2000

@@ -356,7 +356,7 @@
     printf("%%%%CreationDate: %s", ctime(&t));
     printf("%%%%Origin: 0 0\n");
     printf("%%%%BoundingBox: 0 0 %u %u\n",

-       (int)(pageHeight*72), (int)(pageWidth*72));     /* XXX */
+       (int)(pageWidth*72), (int)(pageHeight*72));

     printf("%%%%Pages: (atend)\n");
     printf("%%%%EndComments\n");
     printf("%%%%BeginProlog\n");