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 -- Kenshi Muto kmuto at kmuto jp