[gs-bugs] [Bug 691616] New: Can't refill scanner input buffer! when fixing BoundingBox
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Thu Sep 16 11:18:53 UTC 2010
http://bugs.ghostscript.com/show_bug.cgi?id=691616
Summary: Can't refill scanner input buffer! when fixing
BoundingBox
Product: Ghostscript
Version: 8.71
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: PS Interpreter
AssignedTo: alex.cherepanov at artifex.com
ReportedBy: clint at traveljury.com
QAContact: gs-bugs at ghostscript.com
Estimated Hours: 0.0
Created an attachment (id=6722)
--> (http://bugs.ghostscript.com/attachment.cgi?id=6722)
Original good EPS
Hiya
I have an EPS file which has:
%%BoundingBox (atend)
..
..
%%BoundingBox 0 0 259 255
When converting this to a PDF using:
gs -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=foo.pdf foo.eps
it ignores the BoundingBox and renders the EPS in the bottom left hand corner
of an otherwise blank page.
Kens on IRC recommended that I replace the (atend) with the values from the
last BoundingBox statement in the file.
This works correctly for 80% of the EPS files, but for some of them, I get this
error:
GPL Ghostscript 8.71: ./psi/iscan.c(333): Can't refill scanner input
buffer!GPL Ghostscript 8.71: Unrecoverable error, exit code 255
If I run the file through ps2epsi or ps2eps then I get an EPS file that I can
convert to PDF correctly.
I attach an example of an EPS file that works when edited, and one that throws
the error.
thanks
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list