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

Bug#927429: ghostscript: incorrect bbox is produced in pdfcrop



Quoting Kenshi Muto (2019-04-19 16:44:24)
> On Fri, 19 Apr 2019 23:35:35 +0900,
> Jonas Smedegaard wrote:
> > > $ pdfcrop -hires -verbose o.pdf
> > 
> > That is the pdfcrop command.  Would be quite helpful of you can isolate 
> > and provide here the embedded gs command.
> 
> Sure, pdfcrop uses bbox device.
> Here it is.
> 
> [stretch]
> $ gs -sDEVICE=bbox -dBATCH -dNOPAUSE o.pdf
> 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
> 
> [buster]
> $ gs -sDEVICE=bbox -dBATCH -dNOPAUSE o.pdf
> 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

Thanks!

Indeed this seems broken.

Can you pass this upstream?  Otherwise I will do that.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: