Package: ghostscript
Version: 10.0.0~dfsg-11+deb12u7
Severity: normal
I observe that gs -sDEVICE=bbox can be pathologically slow: on the
file attached as example it takes about 20 seconds. Using gs to show
on screen is fine, takes under 0.5 seconds.
Within my printing setup I had been using gs to count pages in PS files
with something like
gs -P- -dSAFER -o - -sDEVICE=bbox file.ps 2>&1 | \
grep HiResBoundingBox | wc -l
Recently noticed that for some print jobs, gs took up to 10 minutes.
(Seems this happens most often for PDF files sent as PS from Macs.)
This is a recent issue, not sure whether triggered by some update on
Mac, or of ghostscript. Noticed that ps2ps is also slow on these files,
not as dramatically as BBOX.
Thanks, Paul
--
Paul Szabo
psz@maths.usyd.edu.au www.maths.usyd.edu.au/u/psz
School of Mathematics and Statistics University of Sydney Australia
-- System Information:
Debian Release: 12.10
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12+pk12.63 (SMP w/64 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ghostscript depends on:
ii libc6 2.36-9+deb12u10
ii libgs10 10.0.0~dfsg-11+deb12u7
ghostscript recommends no packages.
ghostscript suggests no packages.
-- no debconf information
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)