Bug#927429: marked as done (ghostscript: incorrect bbox is produced in pdfcrop)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#927429: marked as done (ghostscript: incorrect bbox is produced in pdfcrop)

Debian Bug Tracking System
Your message dated Sat, 20 Apr 2019 09:18:37 +0000
with message-id <[hidden email]>
and subject line Bug#927429: fixed in ghostscript 9.27~dfsg-2
has caused the Debian Bug report #927429,
regarding ghostscript: incorrect bbox is produced in pdfcrop
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 [hidden email]
immediately.)


--
927429: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927429
Debian Bug Tracking System
Contact [hidden email] with problems

Package: ghostscript
Version: 9.27~dfsg-1
Severity: normal

Dear Maintainer,

I noticed pdfcrop (texlive-extra-utils) produced misadjusted PDF since Buster.
pdfcrop calls gs internally to get bbox, but gs seems return incorrect
information.

Attached file:
  - o.pdf : original PDF (compiled from upLaTeX on Buster)
  - o-crop-stretch.pdf : cropped PDF from Stretch (correct)
  - o-crop-buster.pdf : cropped PDF from Buster (incorrect)

[on Stretch, ghostscript 9.26a~dfsg-0+deb9u1]
-----------------------------------------------
$ pdfcrop -hires -verbose o.pdf
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
* PDF header: %PDF-1.5
* Running ghostscript for BoundingBox calculation ...
GPL Ghostscript 9.26 (2018-11-20)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 153 716 159 722
%%HiResBoundingBox: 153.323995 716.777978 158.759995 721.277978
* Page 1: 153.323995 716.777978 158.759995 721.277978
* Running pdfTeX ...
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdftex)
entering extended mode
(./tmp-pdfcrop-30001.tex [1 <./o.pdf>] )
Output written on tmp-pdfcrop-30001.pdf (1 page, 3632 bytes).
Transcript written on tmp-pdfcrop-30001.log.
==> 1 page written on `o-crop.pdf'.
-----------------------------------------------

[on Buster, ghostscript 9.27~dfsg-1]
-----------------------------------------------
$ pdfcrop -hires -verbose o.pdf
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
* PDF header: %PDF-1.5
* Running ghostscript for BoundingBox calculation ...
GPL Ghostscript 9.27 (2019-04-04)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Processing pages 1 through 1.
Page 1
%%BoundingBox: 148 713 153 717
%%HiResBoundingBox: 148.283995 713.195978 152.855995 716.975978
* Page 1: 148.283995 713.195978 152.855995 716.975978
* Running pdfTeX ...
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdftex)
entering extended mode
(./tmp-pdfcrop-29743.tex [1 <./o.pdf>] )
Output written on tmp-pdfcrop-29743.pdf (1 page, 3654 bytes).
Transcript written on tmp-pdfcrop-29743.log.
==> 1 page written on `o-crop.pdf'.
-----------------------------------------------

Buster version seems have a serious miscalculation.

Stretch:
%%BoundingBox: 153 716 159 722
%%HiResBoundingBox: 153.323995 716.777978 158.759995 721.277978
* Page 1: 153.323995 716.777978 158.759995 721.277978

Buster:
%%BoundingBox: 148 713 153 717
%%HiResBoundingBox: 148.283995 713.195978 152.855995 716.975978
* Page 1: 148.283995 713.195978 152.855995 716.975978

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ghostscript depends on:
ii  libc6   2.28-8
ii  libgs9  9.27~dfsg-1

Versions of packages ghostscript recommends:
ii  gsfonts  1:8.11+urwcyr1.0.7~pre44-4.4

Versions of packages ghostscript suggests:
pn  ghostscript-x  <none>

-- no debconf information

Source: ghostscript
Source-Version: 9.27~dfsg-2

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.

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 [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[hidden email]> (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 [hidden email])


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

Format: 1.8
Date: Sat, 20 Apr 2019 10:16:50 +0200
Source: ghostscript
Architecture: source
Version: 9.27~dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <[hidden email]>
Changed-By: Jonas Smedegaard <[hidden email]>
Closes: 927429
Changes:
 ghostscript (9.27~dfsg-2) unstable; urgency=medium
 .
   * Add patch cherry-picked upstream
     to fix regression resolving bounding box of font glyphs.
     Closes: Bug#927429. Thanks to Kenshi Muto.
Checksums-Sha1:
 b8a4ae491667b5a3fecd6554a94b6c8745c22abb 2763 ghostscript_9.27~dfsg-2.dsc
 a2f441097cda6a29edf1fc2a44fd377e0677fb88 110524 ghostscript_9.27~dfsg-2.debian.tar.xz
 ebedd6afaeafbc76f930fb2a5320e919fa1b1969 11545 ghostscript_9.27~dfsg-2_amd64.buildinfo
Checksums-Sha256:
 faaf3ec5478bb421e67f0a6d4d21bbd80ef1d7a870bcea0efc3ed296f14c1945 2763 ghostscript_9.27~dfsg-2.dsc
 6f9b237e1f2d49b964c356eb9ea4b02d72143034d58c9469fbb38b653f51859b 110524 ghostscript_9.27~dfsg-2.debian.tar.xz
 cc356848fbe4023288ef57849d1f0de1a6a103ab21e7613bcbdbf0719e52ed5c 11545 ghostscript_9.27~dfsg-2_amd64.buildinfo
Files:
 fced9284ff6a120afb50031303f1cf80 2763 text optional ghostscript_9.27~dfsg-2.dsc
 0627b0f66d1d3713ff3a7600842a5c87 110524 text optional ghostscript_9.27~dfsg-2.debian.tar.xz
 545bf5864a854b4f83ba891f20d43972 11545 text optional ghostscript_9.27~dfsg-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAly64ywACgkQLHwxRsGg
ASFE2w//Z4LQklPbanTk6Lj9V+pIQYXISLyNO7Kt6bmAiT07A0MkKd8Aqz22OF0M
urY8AHEmHtiDxrBxegT0l376gfOS6iHb+rorkq/5l+BRmqqxcqXvKyYbkChKthwL
oRG6AoTCaI5UA6nCYTJqdA5PLcHubN9ZD9zYIbnd69FqHcficaHMAlNL443BiGTd
PmCIKZ08EcKRhcN5gZkPeKtBjgz5C4/aYSP+RJlp/G93y3wtYLNmSedPhk5T+ZvD
Apf+K5VXxzxhaS0XFIGp9UadKzEUDpg/1403v+Q7UabrTsrA/n/08dnVZYWDer2e
Xj7oc+RM5zdC3l7v2AHeupBeWv5Yna3CLf3uGCKO3lSchgG2JTFtiW2ANj8dl2m6
OtDAq2lKpfB2Vxc+VVbSa2Chz+YtAzYePopprzpUfh/rmx6ugMqEiS/AjXGCO0kM
rAm9QnTma5FO+dOeVQQxyw7wDc4+oF4jjirLdgAO9SolKOqdI1GfQnXgttLK8SO7
X1CC/ZY8EvT+wc8Pum88nKACinJ6KkSmVVcbV+/bmg0Ii/td27PwlC3dKfo+37OT
Hx2Aay2wEl4vQl7sDvBONMv+YPXqCNageeV6vlmxDn33apVYoU8PVGVcHrmsZFoJ
MZHJtIXiYXxIqtjNIGdQBNUrfiWNG0DSGLsz1lye0MD4x13faI0=
=Jmx5
-----END PGP SIGNATURE-----

o.pdf (5K) Download Attachment
o-crop-stretch.pdf (4K) Download Attachment
o-crop-buster.pdf (4K) Download Attachment