[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#664966: marked as done (Add an option to disable T3CCITT encoding)



Your message dated Thu, 22 Mar 2012 21:47:36 +0000
with message-id <E1SApr6-0002T3-Hj@franck.debian.org>
and subject line Bug#664966: fixed in ghostscript 9.05~dfsg-4
has caused the Debian Bug report #664966,
regarding Add an option to disable T3CCITT encoding
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
664966: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664966
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ghostscript
Version: 9.05~dfsg-3
Severity: important
Tags: patch

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

Hi!

cupsfilters 1.0.7 include a fix for Brother printers to workaround a
bug in the Postscript interpreter:

     - pdftops: Additional workaround for a bug in the PostsSript interpreters
       of Brother printers, calling Ghostscript with special command line
       options (LP: #955553).

Unfortunately, this fix relies on a patch in Ghostscript which is not
applied in Debian. Please, apply it.

Thanks.

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghostscript depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  debianutils            4.2.1
ii  gsfonts                1:8.11+urwcyr1.0.7~pre44-4.2
ii  libc6                  2.13-27
ii  libgs9                 9.05~dfsg-3

ghostscript recommends no packages.

Versions of packages ghostscript suggests:
ii  ghostscript-cups  9.05~dfsg-3
ii  ghostscript-x     <none>
ii  hpijs             3.12.2-1

- -- no debconf information

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

iEYEARECAAYFAk9qUaUACgkQKFvXofIqeU6rAgCgrr//j6jkXJV5jpQ+k4E8Zrt/
pkwAoJYl+aUutf7eeNhxCWZEwsqj3HO2
=qb0m
-----END PGP SIGNATURE-----
--- a/base/gdevpdfb.c
+++ b/base/gdevpdfb.c
@@ -293,16 +293,18 @@
      * that would need to be passed.
      */
     if (pres) {
-        /*
-         * Always use CCITTFax 2-D for character bitmaps.  It takes less
-         * space to invert the data with Decode than to set BlackIs1.
-         */
-        float d0 = image.Decode[0];
+        if (!pdev->NoT3CCITT) {
+            /*
+             * Always use CCITTFax 2-D for character bitmaps.  It takes less
+             * space to invert the data with Decode than to set BlackIs1.
+             */
+            float d0 = image.Decode[0];
 
-        image.Decode[0] = image.Decode[1];
-        image.Decode[1] = d0;
-        psdf_CFE_binary(&writer.binary[0], image.Width, image.Height, true);
-        invert ^= 0xff;
+            image.Decode[0] = image.Decode[1];
+            image.Decode[1] = d0;
+            psdf_CFE_binary(&writer.binary[0], image.Width, image.Height, true);
+            invert ^= 0xff;
+        }
     } else {
         /* Use the Distiller compression parameters. */
         pdev->ParamCompatibilityLevel = pdev->CompatibilityLevel;
--- a/base/gdevpdfb.h
+++ b/base/gdevpdfb.h
@@ -266,5 +266,6 @@
  PDF_FOR_OPDFREAD,		/* AllowPSRepeatFunctions */
  true,				/* IsDistiller (true even for ps2write!) */
  !PDF_FOR_OPDFREAD,		/* PreserveSMask */
- !PDF_FOR_OPDFREAD		/* PreserveTrMode */
+ !PDF_FOR_OPDFREAD,		/* PreserveTrMode */
+ false                          /* NoT3CCITT */
 };
--- a/base/gdevpdfp.c
+++ b/base/gdevpdfp.c
@@ -121,6 +121,7 @@
     pi("IsDistiller", gs_param_type_bool, IsDistiller),
     pi("PreserveSMask", gs_param_type_bool, PreserveSMask),
     pi("PreserveTrMode", gs_param_type_bool, PreserveTrMode),
+    pi("NoT3CCITT", gs_param_type_bool, NoT3CCITT),
 #undef pi
     gs_param_item_end
 };
--- a/base/gdevpdfx.h
+++ b/base/gdevpdfx.h
@@ -704,6 +704,11 @@
     bool IsDistiller;
     bool PreserveSMask;
     bool PreserveTrMode;
+    bool NoT3CCITT;                 /* A bug in Brother printers causes CCITTFaxDecode
+                                     * to fail, especially with small amounts of data.
+                                     * This parameter is present only to allow
+                                     * ps2write output to work on those pritners.
+                                     */
 };
 
 #define is_in_page(pdev)\

--- End Message ---
--- Begin Message ---
Source: ghostscript
Source-Version: 9.05~dfsg-4

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

ghostscript-cups_9.05~dfsg-4_amd64.deb
  to main/g/ghostscript/ghostscript-cups_9.05~dfsg-4_amd64.deb
ghostscript-dbg_9.05~dfsg-4_amd64.deb
  to main/g/ghostscript/ghostscript-dbg_9.05~dfsg-4_amd64.deb
ghostscript-doc_9.05~dfsg-4_all.deb
  to main/g/ghostscript/ghostscript-doc_9.05~dfsg-4_all.deb
ghostscript-x_9.05~dfsg-4_amd64.deb
  to main/g/ghostscript/ghostscript-x_9.05~dfsg-4_amd64.deb
ghostscript_9.05~dfsg-4.debian.tar.gz
  to main/g/ghostscript/ghostscript_9.05~dfsg-4.debian.tar.gz
ghostscript_9.05~dfsg-4.dsc
  to main/g/ghostscript/ghostscript_9.05~dfsg-4.dsc
ghostscript_9.05~dfsg-4_amd64.deb
  to main/g/ghostscript/ghostscript_9.05~dfsg-4_amd64.deb
libgs-dev_9.05~dfsg-4_amd64.deb
  to main/g/ghostscript/libgs-dev_9.05~dfsg-4_amd64.deb
libgs9-common_9.05~dfsg-4_all.deb
  to main/g/ghostscript/libgs9-common_9.05~dfsg-4_all.deb
libgs9_9.05~dfsg-4_amd64.deb
  to main/g/ghostscript/libgs9_9.05~dfsg-4_amd64.deb



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 664966@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated ghostscript 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 22 Mar 2012 22:02:29 +0100
Source: ghostscript
Binary: ghostscript ghostscript-cups ghostscript-x ghostscript-doc libgs9 libgs9-common libgs-dev ghostscript-dbg
Architecture: source all amd64
Version: 9.05~dfsg-4
Distribution: unstable
Urgency: low
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Description: 
 ghostscript - interpreter for the PostScript language and for PDF
 ghostscript-cups - interpreter for the PostScript language and for PDF - CUPS filter
 ghostscript-dbg - interpreter for the PostScript language and for PDF - Debug symbo
 ghostscript-doc - interpreter for the PostScript language and for PDF - Documentati
 ghostscript-x - interpreter for the PostScript language and for PDF - X11 support
 libgs-dev  - interpreter for the PostScript language and for PDF - Development
 libgs9     - interpreter for the PostScript language and for PDF - Library
 libgs9-common - interpreter for the PostScript language and for PDF - common file
Closes: 664966
Changes: 
 ghostscript (9.05~dfsg-4) unstable; urgency=low
 .
   * Add patch from upstream to workaround Brother printer CCITTFaxDecode
     bugs.
     Closes: bug#664966. Thanks to Vincent Bernat.
   * Use anonscm.debian.org URL in Vcs-Browser field.
   * Update copyright file:
     + Double-indent in Files-Excluded field.
     + Newline-delimit a Files list.
Checksums-Sha1: 
 58740584799a615d866da1355e82f9aa421f72ac 2800 ghostscript_9.05~dfsg-4.dsc
 287a1ed2fb67f1b68ab4f37826165e423e6ed43f 104539 ghostscript_9.05~dfsg-4.debian.tar.gz
 685ea8f7bbdbc40bdd37503c130f6b5f2ea158ec 3690694 ghostscript-doc_9.05~dfsg-4_all.deb
 278282abc9e98d637c9f9e44b75ba1eb4fc12200 2187396 libgs9-common_9.05~dfsg-4_all.deb
 3bf42684f065a410580c5d6e7e603077a780471c 82254 ghostscript_9.05~dfsg-4_amd64.deb
 006b04e73deba1b04d7a92f2968544a3a7b3709e 64864 ghostscript-cups_9.05~dfsg-4_amd64.deb
 af0c20a83056704cbce02dc44979aa6b199d26b4 77616 ghostscript-x_9.05~dfsg-4_amd64.deb
 450ff94aa084f75f40573ca81bc916aea334f945 2316050 libgs9_9.05~dfsg-4_amd64.deb
 dd6265df30172f2df4824e6f45752db05c81b8a3 2902232 libgs-dev_9.05~dfsg-4_amd64.deb
 16bdae552c2061c339a146bede30509197a896a9 8579340 ghostscript-dbg_9.05~dfsg-4_amd64.deb
Checksums-Sha256: 
 8f7adb69a790fff907d318b2775fb8f5814a1b43b585c7b7af163e9d9ab775ad 2800 ghostscript_9.05~dfsg-4.dsc
 3ccb0d7f8494ea872fab31b62d104314f7024ccd31fb91e62abbc58586cb7c2f 104539 ghostscript_9.05~dfsg-4.debian.tar.gz
 33c58a5b1c0fcc4dfe7aaad172e270b2ba4b40230c88855d0463229e6f39d523 3690694 ghostscript-doc_9.05~dfsg-4_all.deb
 2531de3bddd1b9a2a166f34206c13f992d0934144cc9d61408ae5b7f68d56123 2187396 libgs9-common_9.05~dfsg-4_all.deb
 8ca67d81b3af5c146dd05831b204238338ab73f1d8bda69c0d9416b606165353 82254 ghostscript_9.05~dfsg-4_amd64.deb
 a0bc858d1fa4d5827b339370542360cf189cd438a7fdd4f5e9c90acab1ed8901 64864 ghostscript-cups_9.05~dfsg-4_amd64.deb
 0161a4a2d38122a1c55baedeec11ec109483d31631fd507930936e4bda47d944 77616 ghostscript-x_9.05~dfsg-4_amd64.deb
 4c7aa72270025170cb63eecdd6e64e47a3cb5e5dbccda3d06fb80e6061b560ed 2316050 libgs9_9.05~dfsg-4_amd64.deb
 fbf220e2076190b0fcd7e602ecd1f59223c222634385af32504b01a336d2e005 2902232 libgs-dev_9.05~dfsg-4_amd64.deb
 d0a6f2f27a0249792622ed200785c281336b25a480aa80bf9bfe2712c779f0e8 8579340 ghostscript-dbg_9.05~dfsg-4_amd64.deb
Files: 
 2b5498365d9598c8801d039748ab491a 2800 text optional ghostscript_9.05~dfsg-4.dsc
 940179158bd05d3a17b2e38c4441f60e 104539 text optional ghostscript_9.05~dfsg-4.debian.tar.gz
 e351d619a5fa7ee0fd81875b8132f2ed 3690694 doc optional ghostscript-doc_9.05~dfsg-4_all.deb
 7e4f14d881d41145c02b47999e74fe6c 2187396 libs optional libgs9-common_9.05~dfsg-4_all.deb
 386160124ef547575c5bf84173a4a857 82254 text optional ghostscript_9.05~dfsg-4_amd64.deb
 cbabd0a3013f95506c26083d2162254c 64864 text optional ghostscript-cups_9.05~dfsg-4_amd64.deb
 cc339c5bd66e312fced5b2c3fee6eb31 77616 text optional ghostscript-x_9.05~dfsg-4_amd64.deb
 5e69ed67f6195103801072f4826fa681 2316050 libs optional libgs9_9.05~dfsg-4_amd64.deb
 5f0c4ed5afaea166f26fd674cbfde4a4 2902232 libdevel optional libgs-dev_9.05~dfsg-4_amd64.deb
 115c1e999d3898bc9c44609a5a072544 8579340 debug extra ghostscript-dbg_9.05~dfsg-4_amd64.deb

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

iQIcBAEBCgAGBQJPa5sMAAoJECx8MUbBoAEhaIsQAJZUvxRGBWOcQVRLODOTl2Lm
x09tYEECJrU8jbEYMPR6EA3hNQlvma9XODPSY+BOHW17UDZZONdg+TdJk8SZlaCs
FCYIGpigOZgYhNtX3FnJ/KQ1k31us7oNUEb/MlFahzjyzAxaOC62XI9qHg05z7/s
Siv5szqsomGmkvzKlHT1iH9b+bk/xa53I1t5UOhKMDm/hjgd6U1PhzYzAxp//XAQ
/VqPxhSNwhVPdwmQ0tzFMqZVkJLkCkxDdPykrCpOlbhu+lUa91v3Ek8gKqG64Bxj
FYmYyALjOiDENNIhyB7y+4FINDbZSNzhPB9QRLGlmwJForGz4S9mO3pr4qN4JOZt
LG28ReMHGXDpREOOh2wZbtmj+jW4qXAtLO6NljHwdU51U+UPYb/DP5fEdYmUzaBN
aRKbR5PSBteZ/jIeZfxHB7qMlbGhWCMkawUZqiECNTldDnL5Pq8vm5R0fr6SvLGm
lCoqtnsZKqnB4jG6+1kFyFI7PQ8nc0SW/5EOw40D7Qp5DwTgcFFpe2bUn9gNuiNt
3lKqW/4WdiE3cw2/hJ++k5jt8lseA1cny0ovpGtMGqbpS20jnJQhs96vCoaHalwA
5Oc1jT01Znyzwn5/gsAed+aBJW1kh9D1udjaYhb+M0zbhkP+03p+1ptAs0tayhuv
IQOwP/b3XGDNr2VlsXMv
=GpnQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: