Your message dated Sun, 10 Apr 2005 11:05:09 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303583: fixed in tiff 3.7.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Apr 2005 15:51:22 +0000
>From [EMAIL PROTECTED] Thu Apr 07 08:51:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.sabius.net [66.11.161.43] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJZHu-0008DV-00; Thu, 07 Apr 2005 08:51:22 -0700
Received: from patrice by mail.sabius.net with local (Exim 4.44)
        id 1DJZH7-0006Sw-UF
        for [EMAIL PROTECTED]; Thu, 07 Apr 2005 11:50:33 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Patrice Fournier <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /usr/bin/tiff2ps: tiff2ps generates bad PostScript with -a2 or -a3
X-Mailer: reportbug 3.8
Date: Thu, 07 Apr 2005 11:50:33 -0400
Message-Id: <[EMAIL PROTECTED]>
Sender: Patrice Fournier <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
X-SA-Exim-Scanned: No (on mail.sabius.net); SAEximRunCond expanded to false
X-Virus-Scanned-By: AMaViS-ng on mail.sabius.net
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libtiff-tools
Version: 3.7.2-1
Severity: important
File: /usr/bin/tiff2ps
Tags: patch


tiff2ps -a2 and tiff2ps -a3 produces PostScript where the PageSize is set to 
0x0:
1 dict begin /PageSize [ 0.000000 0.000000 ] def currentdict end setpagedevice

You can test the resulting PostScript by trying to convert it to PDF using 
ps2pdf. 

This is already fixed in CVS.

Here's the patch:
---------- cut --------
--- tools/tiff2ps.c     2005-02-06 12:58:01.000000000 -0500
+++ tools/tiff2ps.c     2005-04-06 18:23:11.214330556 -0400
@@ -598,13 +598,13 @@
                        fprintf(fd, "%%%%Page: %d %d\n", npages, npages);
                        if (!generateEPSF && ( level2 || level3 )) {
                                double psw, psh;
-                               if (psw != 0.0) {
+                               if (pw != 0.0) {
                                        psw = pw * PS_UNIT_SIZE;
                                        if (res_unit == RESUNIT_CENTIMETER)
                                                psw *= 2.54F;
                                } else
                                        psw=rotate ? prh:prw;
-                               if (psh != 0.0) {
+                               if (ph != 0.0) {
                                        psh = ph * PS_UNIT_SIZE;
                                        if (res_unit == RESUNIT_CENTIMETER)
                                                psh *= 2.54F;
---------- cut --------

Versions of packages libtiff-tools depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  libtiff4                    3.7.2-1      Tag Image File Format (TIFF) libra
ii  zlib1g                      1:1.2.2-3    compression library - runtime

---------------------------------------
Received: (at 303583-close) by bugs.debian.org; 10 Apr 2005 15:08:18 +0000
>From [EMAIL PROTECTED] Sun Apr 10 08:08:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DKe2s-0004F2-00; Sun, 10 Apr 2005 08:08:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DKdzp-0002aj-00; Sun, 10 Apr 2005 11:05:09 -0400
From: Jay Berkenbilt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#303583: fixed in tiff 3.7.2-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 10 Apr 2005 11:05:09 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: tiff
Source-Version: 3.7.2-2

We believe that the bug you reported is fixed in the latest version of
tiff, which is due to be installed in the Debian FTP archive:

libtiff-opengl_3.7.2-2_i386.deb
  to pool/main/t/tiff/libtiff-opengl_3.7.2-2_i386.deb
libtiff-tools_3.7.2-2_i386.deb
  to pool/main/t/tiff/libtiff-tools_3.7.2-2_i386.deb
libtiff4-dev_3.7.2-2_i386.deb
  to pool/main/t/tiff/libtiff4-dev_3.7.2-2_i386.deb
libtiff4_3.7.2-2_i386.deb
  to pool/main/t/tiff/libtiff4_3.7.2-2_i386.deb
libtiffxx0_3.7.2-2_i386.deb
  to pool/main/t/tiff/libtiffxx0_3.7.2-2_i386.deb
tiff_3.7.2-2.diff.gz
  to pool/main/t/tiff/tiff_3.7.2-2.diff.gz
tiff_3.7.2-2.dsc
  to pool/main/t/tiff/tiff_3.7.2-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jay Berkenbilt <[EMAIL PROTECTED]> (supplier of updated tiff package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 10 Apr 2005 10:12:37 -0400
Source: tiff
Binary: libtiff-opengl libtiffxx0 libtiff4 libtiff-tools libtiff4-dev
Architecture: source i386
Version: 3.7.2-2
Distribution: unstable
Urgency: high
Maintainer: Jay Berkenbilt <[EMAIL PROTECTED]>
Changed-By: Jay Berkenbilt <[EMAIL PROTECTED]>
Description: 
 libtiff-opengl - TIFF manipulation and conversion tools
 libtiff-tools - TIFF manipulation and conversion tools
 libtiff4   - Tag Image File Format (TIFF) library
 libtiff4-dev - Tag Image File Format library (TIFF), development files
 libtiffxx0 - Tag Image File Format (TIFF) library -- C++ interface
Closes: 303583
Changes: 
 tiff (3.7.2-2) unstable; urgency=high
 .
   * Fix zero pagesize bug with tiff2ps -a2 and tiff2ps -a3.  Thanks to
     Patrice Fournier for the patch.  (Closes: #303583)
   * Note: uploading with urgency=high since this very small fix impacts
     tools only (not the library), and we don't want to block tiff's many
     reverse dependencies from transitioning to sarge.
Files: 
 54998f23a064d198862d366fb4885448 735 libs optional tiff_3.7.2-2.dsc
 7c6024542f4a1fcd52d0e89eca901bf2 8186 libs optional tiff_3.7.2-2.diff.gz
 5d6e7ca4f2dd3cbf9df37e72246c73f8 451642 libs optional libtiff4_3.7.2-2_i386.deb
 99d3c5327965c48bc831c6162307ff04 40188 libs optional 
libtiffxx0_3.7.2-2_i386.deb
 616513ed4e66d7ca05b792fbd139eb36 250638 libdevel optional 
libtiff4-dev_3.7.2-2_i386.deb
 e3f35d97a4c6f0be6236106ddcb3bb73 205784 graphics optional 
libtiff-tools_3.7.2-2_i386.deb
 2df6b00668b78d31b9d8ecdcc5128efe 44746 graphics optional 
libtiff-opengl_3.7.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCWTu9EBVk6taI4KcRAsVTAKCmyi9spdf+3jtTe4Bi8oAmh1TEBwCgnrAc
IerUv2NGknuD+OlZgQvY1/c=
=ZTgi
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to