Summary: | Ghostscript's bbox driver gives wrong result | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Till Kamppeter <till.kamppeter> |
Component: | Other Driver | Assignee: | Marcos H. Woehrmann <marcos.woehrmann> |
Status: | NOTIFIED WORKSFORME | ||
Severity: | normal | CC: | villate |
Priority: | P4 | ||
Version: | master | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/bugs/160203 | ||
Customer: | Word Size: | --- |
Description
Till Kamppeter
2007-11-14 06:56:31 UTC
This is likely a duplicate of Bug 689548 and has been fixed in the current head (r8363). We were just discussing yesterday how unfortunate it was that the Ghostscript version number didn't give revision information (PRE-RELEASE 8.61, isn't definitive, since that is what the r8165 through r8363 report). In any case, I'm working on finding a patch for this. *** Bug 689548 has been marked as a duplicate of this bug. *** Till, do you know that date or revision of the svn snapshot that was us to build the Ghostcript that is generating the bad bounding boxes? I'm having trouble finding it. Ubuntu ships revision 8187, so that one has definitely the problem. See bug 689548 for whether the original poster observed the bug also in other revisions. I'm not able to duplicate the bounding box problem with r8187, or any of the other various revisions that I've tested. I thought perhaps that the problem related to the fact that under Ubuntu 7.10 /usr/bin/gs is just a front end for /usr/lib/libgs.so.8.61, but I've tried building Ghostscript r8187 as a shared object ('make so', after adding "CFLAGS_SO=-fPIC" to the Makefile) and then running sobin/gsc, but that works as well. I suspect it's related to the build process. The bounding box problem has turned out to be caused by the CJK support patches applied to the Ghostscript in Debian and Ubuntu. After rebuilding without the patches I get correct results. The patches will be dropped in the Debian and Ubuntu packages from Ghostscript 8.64 on, as Ghostscript 8.64 provides the CJK support natively. Ghostscript 8.64 will get released on February 1. |