Subject: pkg/10496: A PS/Latex-output fix for transfig
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/02/2000 12:15:12
>Number:         10496
>Category:       pkg
>Synopsis:       A PS/Latex-output fix for transfig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 02 12:16:00 PDT 2000
>Originator:     Jim Bernard
>Release:        July 2, 2000
	Speaking for myself
System: NetBSD zoo 1.5B NetBSD 1.5B (ZOO-$Revision: 1.54 $) #0: Fri Jun 30 21:30:05 MDT 2000 jim@zoo:/home/tmp/compile/sys/arch/i386/compile/ZOO i386

	The current version of transfig (print/transfig) incorrectly positions
	Latex text relative to the figure in PS/Latex output format in certain
	cases (e.g., when the text extends to the left of the figure).  I
	reported this to Brian Smithe, the maintainer, who sent a fix.

	Create a "special" string with TeX text that extends to the left of
	the leftmost point of a figure, and export it in PS/Latex format.
	When included in a TeX document, the text and figure will not be
	correctly aligned (drawing displaced too far to the right).

	From Brian Smith, who said of the patch:

	  This excludes special text from pstex bounding box calculation,
	  which was causing alignment problems with special text and the figure.


--- fig2dev/dev/genpstex.c.orig	Wed Jan 12 10:15:26 2000
+++ fig2dev/dev/genpstex.c	Mon Jun 12 12:30:21 2000
@@ -136,7 +136,7 @@
 struct driver dev_pstex = {