[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#136112: marked as done (dvips: included fonts in EPSF files may produce bad PostScript)



Your message dated Mon, 7 Jul 2003 19:03:17 -0400
with message-id <20030707230317.GL29417@petunia.bostoncoop.net>
and subject line dvips: included fonts in EPSF files may produce bad PostScript
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; 27 Feb 2002 23:05:10 +0000
>From dpt@math.harvard.edu Wed Feb 27 17:05:10 2002
Return-path: <dpt@math.harvard.edu>
Received: from eocene.stanford.edu (lotus.math.harvard.edu) [171.64.22.150] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16gD8I-000161-00; Wed, 27 Feb 2002 17:05:10 -0600
Received: from dpt by lotus.math.harvard.edu with local (Exim 3.34 #1 (Debian))
	id 16gD8a-0003xE-00; Wed, 27 Feb 2002 15:05:28 -0800
From: Dylan Thurston <dpt@math.harvard.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dvips: included fonts in EPSF files may produce bad PostScript
X-Mailer: reportbug 1.44
Date: Wed, 27 Feb 2002 15:05:28 -0800
Message-Id: <E16gD8a-0003xE-00@lotus.math.harvard.edu>
Delivered-To: submit@bugs.debian.org

Package: tetex-bin
Version: 1.0.7+20011202-3.1
Severity: normal
Tags: patch

In some circumstances, 'dvips -E -i' can produce an invalid PostScript
file by miscounting the number of fonts it puts in a dictionary.  
A dvi file and corresponding EPSF files to produce the bug available on
request.

The patch is a one-line fix to finclude.c, which is obviously correct:
you should count the number of (font, resolution) pairs you _actually_
output, not the number that you _consider_ outputting.

Best,
	Dylan Thurston

--- finclude.c.orig     Wed Feb 27 14:53:50 2002
+++ finclude.c  Wed Feb 27 09:11:02 2002
@@ -520,9 +520,9 @@
          do {   if (f->psflag==EXISTS) {
                cmdout(f->scalename);
                lfontout((int)f->psname);
+              k++;
             }
             f = f->nextsize;
-            k++;
          } while (f!=NULL);
          numout((integer)k);
          cmdout("fstore");

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux lotus 2.4.17 #1 Tue Jan 15 22:42:20 UTC 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages tetex-bin depends on:
ii  debianutils           1.16               Miscellaneous utilities specific t
ii  dpkg                  1.9.19             Package maintenance system for Deb
ii  ed                    0.2-19             The classic unix line editor
ii  libc6                 2.2.5-3            GNU C Library: Shared libraries an
ii  libkpathsea3          1.0.7+20011202-3.1 shared libkpathsea for teTeX
ii  libpng2               1.0.12-3           PNG library - runtime
ii  libstdc++2.10-glibc2. 1:2.95.4-2         The GNU stdc++ library
ii  libtiff3g             3.5.5-6            Tag Image File Format library
ii  libxaw7               4.1.0-14           X Athena widget set library
ii  tetex-base            1.0.2+20011202-2   basic teTeX library files
ii  xlibs                 4.1.0-14           X Window System client libraries
ii  zlib1g                1:1.1.3-19         compression library - runtime


---------------------------------------
Received: (at 136112-done) by bugs.debian.org; 7 Jul 2003 23:03:23 +0000
>From dpt@petunia.bostoncoop.net Mon Jul 07 18:03:20 2003
Return-path: <dpt@petunia.bostoncoop.net>
Received: from exoskeleton.math.harvard.edu (petunia) [140.247.28.55] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19Zf0y-0003C4-00; Mon, 07 Jul 2003 18:03:20 -0500
Received: from dpt by petunia with local (Exim 3.36 #1 (Debian))
	id 19Zf0v-0007hh-00; Mon, 07 Jul 2003 19:03:17 -0400
Date: Mon, 7 Jul 2003 19:03:17 -0400
From: Dylan Thurston <dpt@math.harvard.edu>
To: Hilmar Preusse <hille42@web.de>
Cc: 136112-done@bugs.debian.org
Subject: Re: dvips: included fonts in EPSF files may produce bad PostScript
Message-ID: <20030707230317.GL29417@petunia.bostoncoop.net>
Reply-To: dpt@math.harvard.edu
References: <E16gD8a-0003xE-00@lotus.math.harvard.edu> <[🔎] 20030701212445.GA13150@preusse-16223.user.cis.dfn.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="a2FkP9tdjPU2nyhF"
Content-Disposition: inline
In-Reply-To: <[🔎] 20030701212445.GA13150@preusse-16223.user.cis.dfn.de>
User-Agent: Mutt/1.5.4i
Sender: Dylan Thurston <dpt@petunia.bostoncoop.net>
Delivered-To: 136112-done@bugs.debian.org
X-Spam-Status: No, hits=-21.8 required=4.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2,
	      QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,
	      USER_AGENT_MUTT
	autolearn=ham version=2.53-bugs.debian.org_2003_06_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)


--a2FkP9tdjPU2nyhF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 01, 2003 at 11:24:45PM +0200, Hilmar Preusse wrote:
> On 28.02.02 Dylan Thurston (dpt@math.harvard.edu) wrote:
>=20
> Hello,
>=20
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D136112
>=20
> > In some circumstances, 'dvips -E -i' can produce an invalid
> > PostScript file by miscounting the number of fonts it puts in a
> > dictionary.  A dvi file and corresponding EPSF files to produce the
> > bug available on request.
> >=20
> > The patch is a one-line fix to finclude.c, which is obviously
> > correct: you should count the number of (font, resolution) pairs
> > you _actually_ output, not the number that you _consider_
> > outputting.
> >=20
> Thanks very much for you bug report. Your patch seems to be included
> into the dvips-version of Debian unstable.
>=20
> drachi:[tetex] >./dvips --version
> dvips(k) 5.92b
> kpathsea version 3.3.7
>=20
> Can you confirm this? Can we close that bug?

Yes; this bug was fixed very soon after I opened it; I'm surprised
it's still open.

Peace,
	Dylan

--a2FkP9tdjPU2nyhF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Cfw1Veybfhaa3tcRAjQbAJ4lBOX3/NULw7In8WOfDhgmUMBCcgCgkzkl
y8Su7ia0gAe7nCu4WFIx0mE=
=DpfQ
-----END PGP SIGNATURE-----

--a2FkP9tdjPU2nyhF--



Reply to: