NetBSD Problem Report #10496

Received: (qmail 27263 invoked from network); 2 Jul 2000 19:15:14 -0000
Message-Id: <200007021913.e62JDMW25264@zoo>
Date: Sun, 2 Jul 2000 13:13:22 -0600 (MDT)
From: jbernard@mines.edu
Reply-To: jbernard@mines.edu
To: gnats-bugs@gnats.netbsd.org
Subject: A PS/Latex-output fix for transfig
X-Send-Pr-Version: 3.95

>Number:         10496
>Category:       pkg
>Synopsis:       A PS/Latex-output fix for transfig
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 02 19:16:00 +0000 2000
>Closed-Date:    Tue Jul 04 00:01:51 +0000 2000
>Last-Modified:  Tue Jul 04 00:01:51 +0000 2000
>Originator:     Jim Bernard
>Release:        July 2, 2000
>Organization:
	Speaking for myself
>Environment:
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


>Description:
	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.

>How-To-Repeat:
	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).

>Fix:
	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.

$NetBSD$

--- 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 @@
 	gendev_null,
 	genpstex_t_text,
 	genlatex_end,
-	EXCLUDE_TEXT
+	INCLUDE_TEXT
 };

 struct driver dev_pstex = {
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: itohy 
State-Changed-When: Mon Jul 3 17:00:23 PDT 2000 
State-Changed-Why:  
Patch applied.  Thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.