Bug#170384: marked as done (tetex-bin: epstopdf 'corrects' bounding box too small)
Your message dated Mon, 13 Dec 2004 09:28:54 +0100
with message-id <20041213082854.GF968@preusse>
and subject line Bug#170384: tetex-bin: epstopdf 'corrects' bounding box too small
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Nov 2002 12:02:48 +0000
>From tommi.komulainen@iki.fi Sat Nov 23 06:02:48 2002
Return-path: <tommi.komulainen@iki.fi>
Received: from smtp-2.hut.fi [130.233.228.92] (root)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 18FYzn-0003ZQ-00; Sat, 23 Nov 2002 06:02:47 -0600
Received: from jt5-223b.tky.hut.fi (jt5-223b.tky.hut.fi [130.233.20.75])
by smtp-2.hut.fi (8.12.6/8.12.6) with ESMTP id gANC2jNI020338
for <submit@bugs.debian.org>; Sat, 23 Nov 2002 14:02:46 +0200
Received: by jt5-223b.tky.hut.fi (Postfix, from userid 1000)
id 55423FC59; Sat, 23 Nov 2002 14:02:45 +0200 (EET)
Date: Sat, 23 Nov 2002 14:02:45 +0200
From: Tommi Komulainen <tommi.komulainen@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-bin: epstopdf 'corrects' bounding box too small
Message-ID: <20021123120244.GA21459@jt5-223b.tky.hut.fi>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R"
Content-Disposition: inline
User-Agent: Mutt/1.4i
MIME-Version: 1.0
X-Reportbug-Version: 2.9
X-RAVMilter-Version: 8.4.1(snapshot 20020919) (smtp-2.hut.fi)
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.4 required=5.0
tests=PGP_SIGNATURE_2,SPAM_PHRASE_00_01,USER_AGENT,
USER_AGENT_MUTT
version=2.41
X-Spam-Level:
--kXdP64Ggrk/fb43R
Content-Type: multipart/mixed; boundary="u3/rZRmxL6MmkK24"
Content-Disposition: inline
--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: tetex-bin
Version: 1.0.7+20021025-3
Severity: minor
Tags: patch
The epstopdf script 'corrects' the bounding box one point too narrow and
too short. This makes lines that are right at the edge of the bounding
box simply disappear from the pdf.
It's a simple off-by-one error, patch attached.
--=20
Tommi Komulainen tommi.komulainen@iki.fi
GPG 1024D/68388EE6 6FD6 DD79 EB38 BF6F 3533 09C0 04A8 9871 6838 8EE6
--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="epstopdf.diff"
--- /usr/bin/epstopdf 2002-11-20 08:18:50.000000000 +0200
+++ epstopdf 2002-11-23 13:54:27.000000000 +0200
@@ -210,7 +210,7 @@
sub CorrectBoundingBox {
my ($llx, $lly, $urx, $ury) = @_;
debug "Old BoundingBox:", $llx, $lly, $urx, $ury;
- my ($width, $height) = ($urx - $llx, $ury - $lly);
+ my ($width, $height) = ($urx - $llx + 1, $ury - $lly + 1);
my ($xoffset, $yoffset) = (-$llx, -$lly);
debug "New BoundingBox: 0 0", $width, $height;
debug "Offset:", $xoffset, $yoffset;
--u3/rZRmxL6MmkK24--
--kXdP64Ggrk/fb43R
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE9325kBKiYcWg4juYRAlwNAKDDZUXY5o4Elcmzupw4EhoQX9EI8gCeJCXm
0A4CCC9ganjQgV9Z3lcA6Kc=
=UOc6
-----END PGP SIGNATURE-----
--kXdP64Ggrk/fb43R--
---------------------------------------
Received: (at 170384-done) by bugs.debian.org; 13 Dec 2004 08:29:25 +0000
>From hille42@web.de Mon Dec 13 00:29:25 2004
Return-path: <hille42@web.de>
Received: from smtp06.web.de [217.72.192.224]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cdla9-0007Xx-00; Mon, 13 Dec 2004 00:29:25 -0800
Received: from [212.14.71.206] (helo=preusse.amasol.de)
by smtp06.web.de with asmtp (WEB.DE 4.103 #184)
id 1CdlZe-0002yh-00
for 170384-done@bugs.debian.org; Mon, 13 Dec 2004 09:28:54 +0100
Received: by preusse.amasol.de (sSMTP sendmail emulation); Mon, 13 Dec 2004 09:28:54 +0100
Date: Mon, 13 Dec 2004 09:28:54 +0100
From: Hilmar Preusse <hille42@web.de>
To: 170384-done@bugs.debian.org
Subject: Re: Bug#170384: tetex-bin: epstopdf 'corrects' bounding box too small
Message-ID: <20041213082854.GF968@preusse>
References: <20021123120244.GA21459@jt5-223b.tky.hut.fi> <20040529090938.GA3219@preusse-16223.user.cis.dfn.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040529090938.GA3219@preusse-16223.user.cis.dfn.de>
User-Agent: Mutt/1.4.1i
X-Operating-System: CYGWIN_NT-5.0 1.5.12(0.116/4/2) i686
X-www.distributed.net: OGR-P2: 1 packet (33.72 stats units) [3.56 Mnodes/s]
X-Face: .n=jHnz:2pu0c0)ef]4O#1FE{Vak?h89!g7_#2+PzSRoIU[pJFNnz>gLhn}UMwv}4/j{X.. 2E+>U>P!`PYk
X-Confirmation-Request: yes
X-Confirm-Reading-To: "Hilmar Preusse" <hille42@web.de>
Sender: hille42@web.de
X-Sender: hille42@web.de
Delivered-To: 170384-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
On 29.05.04 Hilmar Preusse (hille42@web.de) wrote:
> On 23.11.02 Tommi Komulainen (tommi.komulainen@iki.fi) wrote:
Hi,
> > The epstopdf script 'corrects' the bounding box one point too
> > narrow and too short. This makes lines that are right at the edge
> > of the bounding box simply disappear from the pdf.
> >
> > It's a simple off-by-one error, patch attached.
> >
> Could you please post a minimal example, which shows that behaviour?
> (i.e. a small eps-file). What I see in the moment is rather the
> opposite. I've created a small file containing a square (using xfig)
> and exported it into an EPS-file^1. The Bounding Box is 220 302 and
> as far as I understand EPS the painted figure lies exactly on that
> box:
>
> newpath 0 302 moveto 0 0 lineto 220 0 lineto 220 302 lineto closepath clip newpath
>
> when I open that eps-file using gv and gs 6.53 I see white margins at
> two sides. Reproducible when converting to pdf using epstopdf and
> viewing in xpdf.
> EPS and fig-file are attached. Could it have been a bug in gs? How
> about the gs in unstable?
>
No reaction from the submitter for half a year and probably not a bug
in epstopdf.
CLosing.
Hilmar
--
sigmentation fault
Reply to: