Ghostscript 9.26 does not set bounding box correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghostscript (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ghostscript 9.26 in Ubuntu 18.04 LTS has a bug which causes wrongly sized boundary boxes in output from epstool. This appears to a single-line typing mistake that has been fixed in Ghostscript 9.27. Could Ghostscript 9.26 (used in 18.04 LTS) be patched?
Details of bug and fix are here:
https:/
Bug 700306: Fix values returned by bbox device.
The "any part of a pixel" code in the new scan converter holds a
"cursor" position that determines where edges intersect with
the scanlines. The leftmost and rightmost positions of intersection
are held in this as values of type fixed.
The "null" cursor position is represented by using maximal/minimal
values. Unfortunately, I used {max,min}
{max,
as they ought to have been.