Your message dated Thu, 03 Mar 2011 00:18:07 +0000
with message-id <[email protected]>
and subject line Bug#611977: fixed in transfig 1:3.2.5.d-1
has caused the Debian Bug report #611977,
regarding transfig: PIC output misaligns text
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
611977: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611977
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: transfig
Version: 1:3.2.5.c-1
Severity: normal
Tags: patch

fig2dev is inserting leading spaces in text output:

"\s12\fR Data blocks\fP" at 5.750,9.346 
"\s12\fR inode\fP" at 3.062,9.096 ljust

when the output should be

"\s12\fRData blocks\fP" at 5.750,9.346 
"\s12\fRinode\fP" at 3.062,9.096 ljust

i.e. no space character between the font selection and the text,
since troff/groff do actually print that space, leading to bad
text alignment which makes the text alignment not match the
original fig file.

The attached patch removes this leading space to align the text
correctly.


Regards,
Roger

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (550, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages transfig depends on:
ii  gawk                      1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libpng12-0                1.2.44-1       PNG library - runtime
ii  libxpm4                   1:3.5.9-1      X11 pixmap library
ii  x11-common                1:7.5+8        X Window System (X.Org) infrastruc

Versions of packages transfig recommends:
ii  ghostscript               8.71~dfsg2-10  The GPL Ghostscript PostScript/PDF
ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between 

Versions of packages transfig suggests:
ii  xfig                       1:3.2.5.b-1.1 Facility for Interactive Generatio

-- no debconf information
diff -urN transfig-3.2.5.c.original/fig2dev/dev/genpic.c transfig-3.2.5.c/fig2dev/dev/genpic.c
--- transfig-3.2.5.c.original/fig2dev/dev/genpic.c	2011-02-04 09:59:54.585215258 +0000
+++ transfig-3.2.5.c/fig2dev/dev/genpic.c	2011-02-04 10:00:22.170225762 +0000
@@ -443,7 +443,7 @@
 	size = PICFONTMAG(t);
 	if (!OptNoUnps) {
 	  unpsfont(t);
-	  fprintf(tfp, "\"\\s%d\\f%s ", size, PICFONT(t->font));
+	  fprintf(tfp, "\"\\s%d\\f%s", size, PICFONT(t->font));
 	} else {
 	  fprintf(tfp, ".ps\n.ps %d\n", size );
 	  fprintf(tfp, ".ft\n.ft %s\n", PICPSFONT(t) );

--- End Message ---
--- Begin Message ---
Source: transfig
Source-Version: 1:3.2.5.d-1

We believe that the bug you reported is fixed in the latest version of
transfig, which is due to be installed in the Debian FTP archive:

transfig_3.2.5.d-1.diff.gz
  to main/t/transfig/transfig_3.2.5.d-1.diff.gz
transfig_3.2.5.d-1.dsc
  to main/t/transfig/transfig_3.2.5.d-1.dsc
transfig_3.2.5.d-1_amd64.deb
  to main/t/transfig/transfig_3.2.5.d-1_amd64.deb
transfig_3.2.5.d.orig.tar.gz
  to main/t/transfig/transfig_3.2.5.d.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Rosenfeld <[email protected]> (supplier of updated transfig package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Thu, 03 Mar 2011 00:58:52 +0100
Source: transfig
Binary: transfig
Architecture: source amd64
Version: 1:3.2.5.d-1
Distribution: unstable
Urgency: low
Maintainer: Roland Rosenfeld <[email protected]>
Changed-By: Roland Rosenfeld <[email protected]>
Description: 
 transfig   - Utilities for converting XFig figure files
Closes: 610466 611948 611977
Changes: 
 transfig (1:3.2.5.d-1) unstable; urgency=low
 .
   * New upstream version 3.2.5d.
   * Update debian/copyright.
   * Adapt all patches to new version.
   * Remove 07_avoid_warnings, incorporated upstream.
   * Remove 19_cups_workaround, better solution upstream.
   * 23_MAXWIDTH: Increasese MAXWIDTH of embedded images from 8K to 16K
     (Closes: #610466)
   * 24_PIC_precision: Change the precision of PIC floating point output
     from %.2f to %.3f.  Thanks to Roger Leigh <[email protected]>.
     (Closes: #611948).
   * 25_PIC_leadspace: Avoid wrong leading spaces in PIC text.  Thanks to
     Roger Leigh <[email protected]> (Closes: #611977).
   * 14_fig2mpdf: use list of layers instead of range of layers.  See Ubuntu
     bug https://bugs.launchpad.net/ubuntu/+source/transfig/+bug/561458
     Thanks to Manuel López-Ibáñez for providing a patch.
   * Add debian/source/format 1.0
   * Upgrade to Standards-Version 3.9.1 (no changes).
Checksums-Sha1: 
 3682a20884f57c178f3214c44a1416e203b6f16b 1243 transfig_3.2.5.d-1.dsc
 c49e211664f391ca8f4d4d82fcf427beb5b7b545 492009 transfig_3.2.5.d.orig.tar.gz
 fdc72c47ebbda41b8a43606ea45f1349494315c8 238000 transfig_3.2.5.d-1.diff.gz
 8095dd3697a38011c87b72b6fdf16c3bfb415098 639214 transfig_3.2.5.d-1_amd64.deb
Checksums-Sha256: 
 eb9aae72f40436046bb5b5d606f83d279c169bf85da862b3522f4130a4fe36d8 1243 
transfig_3.2.5.d-1.dsc
 0f6428eb98d00ebb7e6c5a17c569c9359abfc3ba01a0f99a5c20bdccbb521667 492009 
transfig_3.2.5.d.orig.tar.gz
 04d0281dd4d546340333dc54740b27510d5e9124ca4cb78fe71cce8f59e908b1 238000 
transfig_3.2.5.d-1.diff.gz
 2a89119a9bb2089810bdb10574e4c051c8cccc37f60e8df9d814e03326d06758 639214 
transfig_3.2.5.d-1_amd64.deb
Files: 
 ab41f13f9b584c832afeb02a5566fbb6 1243 graphics optional transfig_3.2.5.d-1.dsc
 da4de2b9da92226d1574d5f92a342c0c 492009 graphics optional 
transfig_3.2.5.d.orig.tar.gz
 c323802e2b76dc0294f74b9b99dd4938 238000 graphics optional 
transfig_3.2.5.d-1.diff.gz
 f2b68799c0297eaa1bc4709a9966d1a5 639214 graphics optional 
transfig_3.2.5.d-1_amd64.deb

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

iEYEAREDAAYFAk1u2uMACgkQO7/Pd72LBQ2tAwCeLjYMOCHWxOrnheRo81nqLEHM
2rYAn2/BGKc+GEzjru1XVlW9GoOacKUb
=Ch5R
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to