Your message dated Wed, 16 Mar 2011 00:02:33 +0000
with message-id <e1pzec9-0000k3...@franck.debian.org>
and subject line Bug#617993: fixed in plotutils 2.6-2
has caused the Debian Bug report #617993,
regarding libplot: SVG attribute syntax error
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 ow...@bugs.debian.org
immediately.)


-- 
617993: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617993
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libplot2c2
Version: 2.6-1
Severity: normal
Tags: patch

Hi,

in the package pstoedit (using libplot) we discovered an SVG attribute syntax
error.

Consider the following file.ps:

=================================================================
%!PS-Adobe-3.0 EPSF-3.0
%%LanguageLevel: 1
%%Pages: (atend)
%%EndComments
%%Page: 0 1
0.000 0.000 0.000 setrgbcolor
10 setlinewidth
[10 10] 0 setdash
200 200 moveto 90 0 rlineto -45 60 rlineto closepath fill
%%EOF
=================================================================

Using "pstoedit -f plot-svg file.ps file.svg", we got:

=================================================================
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg version="1.1" baseProfile="full" id="body" width="8in" height="8in" 
viewBox="0 0 1 1" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:ev="http://www.w3.org/2001/xml-events";>
<title>SVG drawing</title>
<desc>This was produced by version 4.2 of GNU libplot, a free library for 
exporting 2-D vector graphics.</desc>
<rect id="background" x="0" y="0" width="1" height="1" stroke="none" 
fill="white"/>
<g id="content" transform="translate(-0.03125,1.1875) scale(1,-1) 
scale(0.0017361) " xml:space="preserve" stroke="black" stroke-linecap="butt" 
stroke-linejoin="miter" stroke-miterlimit="10.433" stroke-dasharray="none" 
stroke-dashoffset="0" stroke-opacity="1" fill="none" fill-rule="even-odd" 
fill-opacity="1" font-style="normal" font-variant="normal" font-weight="normal" 
font-stretch="normal" font-size-adjust="none" letter-spacing="normal" 
word-spacing="normal" text-anchor="start">
<polygon points="200,200 290,200 245,260 " stroke-width="0" 
stroke-dasharray="10 10"fill="black" fill-rule="nonzero" />
</g>
</svg>
=================================================================

Consider the missing space in the 2nd-to-last line before fill="black".

I'm attaching a patch that fixes it.

See also the original report by the pstoedit upstream author:

http://lists.opensuse.org/opensuse-bugs/2009-01/msg04905.html

And the pstoedit Debian bug:

http://bugs.debian.org/506086

Thanks.

bye,
  Roland


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libplot2c2 depends on:
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.5.2-4        GCC support library
ii  libice6                 2:1.0.7-1        X11 Inter-Client Exchange library
ii  libpng12-0              1.2.44-1         PNG library - runtime
ii  libsm6                  2:1.2.0-1        X11 Session Management library
ii  libstdc++6              4.5.2-4          The GNU Standard C++ Library v3
ii  libx11-6                2:1.4.1-5        X11 client-side library
ii  libxaw7                 2:1.0.9-2        X11 Athena Widget library
ii  libxext6                2:1.2.0-2        X11 miscellaneous extension librar
ii  libxmu6                 2:1.1.0-1        X11 miscellaneous utility library
ii  libxt6                  1:1.1.0-1        X11 toolkit intrinsics library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libplot2c2 recommends no packages.

libplot2c2 suggests no packages.

-- no debconf information
Description: SVG attribute syntax fix
 This patch fixes a syntax error connected with SVG XML attributes.
 See also the original report by the pstoedit upstream maintainer at
 http://lists.opensuse.org/opensuse-bugs/2009-01/msg04905.html
 and the respective pstoedit bug in Debian:
 http://bugs.debian.org/506086
 .
Author: Roland Stigge <sti...@antcom.de>

--- plotutils-2.6.orig/libplot/s_path.c
+++ plotutils-2.6/libplot/s_path.c
@@ -717,7 +717,7 @@ write_svg_path_style (plOutbuf *page, co
            {
              sprintf (page->point, "%.5g%s",
                       dashbuf[i],
-                      i < num_dashes - 1 ? ", " : "\"");
+                      i < num_dashes - 1 ? ", " : "\" ");
              _update_buffer (page);
            }
 

--- End Message ---
--- Begin Message ---
Source: plotutils
Source-Version: 2.6-2

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

libplot-dev_2.6-2_amd64.deb
  to main/p/plotutils/libplot-dev_2.6-2_amd64.deb
libplot2c2_2.6-2_amd64.deb
  to main/p/plotutils/libplot2c2_2.6-2_amd64.deb
plotutils_2.6-2.debian.tar.gz
  to main/p/plotutils/plotutils_2.6-2.debian.tar.gz
plotutils_2.6-2.dsc
  to main/p/plotutils/plotutils_2.6-2.dsc
plotutils_2.6-2_amd64.deb
  to main/p/plotutils/plotutils_2.6-2_amd64.deb



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 617...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Floris Bruynooghe <f...@devork.be> (supplier of updated plotutils 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 14 Mar 2011 23:13:19 +0000
Source: plotutils
Binary: plotutils libplot2c2 libplot-dev
Architecture: source amd64
Version: 2.6-2
Distribution: unstable
Urgency: low
Maintainer: Floris Bruynooghe <f...@devork.be>
Changed-By: Floris Bruynooghe <f...@devork.be>
Description: 
 libplot-dev - The GNU plotutils libraries (development files)
 libplot2c2 - The GNU plotutils libraries
 plotutils  - The GNU plotutils (plotting utilities) package
Closes: 617993
Changes: 
 plotutils (2.6-2) unstable; urgency=low
 .
   * Correct svg syntax error (thanks Roland Stigge) (closes: #617993).
   * Add fix for libpng 1.5 (patch from Thomas Klausner).
   * Fix Hershey pointing hands glyphs (patch from Roland Münzberg).
   * Update maitainer email address.
Checksums-Sha1: 
 ca4431e3b258d4507317a5137d3c07246783d6b9 1718 plotutils_2.6-2.dsc
 44c1bdb0feb8ef2786925d829f055edaa3a23c04 12717 plotutils_2.6-2.debian.tar.gz
 d587b8cf3862407b68d361e02caed41b8f7afd9e 673164 plotutils_2.6-2_amd64.deb
 ea15cee86537c9ab2fd32863c055fa5c247ae09b 940782 libplot2c2_2.6-2_amd64.deb
 ef5277888005fceed3a3d69518d5628d80558bd7 1153938 libplot-dev_2.6-2_amd64.deb
Checksums-Sha256: 
 a9622868a46a02d5a874d59275b667c962ef1ef2b2798185f0350654a69ddcae 1718 
plotutils_2.6-2.dsc
 d03f84eaf99d15a5363a5954b9d84a2c5d348a8d0ff1f3574c46713511e89cb8 12717 
plotutils_2.6-2.debian.tar.gz
 eed458987fc2930103f5c6dd55f408770c098d4713a6ca83c827d03d3f862c41 673164 
plotutils_2.6-2_amd64.deb
 52242cdbb22657e0abf0983598e133cc5d863550023bb131c621378b0da4af5d 940782 
libplot2c2_2.6-2_amd64.deb
 c42639940e78efe2404be806bbacc13f26bc622dabe0ee3713b3d40a0178954b 1153938 
libplot-dev_2.6-2_amd64.deb
Files: 
 6805314537c1dff844cdb88191793552 1718 math optional plotutils_2.6-2.dsc
 57bd3a0c876f7487ecee12b7e162e94f 12717 math optional 
plotutils_2.6-2.debian.tar.gz
 b405120aa9ec48a102dddb7542c1dc30 673164 math optional plotutils_2.6-2_amd64.deb
 6e2f92bc3c3bfb7cd91b26fcbb75ccb9 940782 libs optional 
libplot2c2_2.6-2_amd64.deb
 2c082576a09b47d7327be46c5f034074 1153938 libdevel optional 
libplot-dev_2.6-2_amd64.deb

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

iQEcBAEBCAAGBQJNf/rYAAoJEEHOfwufG4sy7EwH/R5zrQfaIE1sM2nnOnJX+UI2
4uv8xhFLuIOQCceqF0wa314OWJY5tozY2Uao/wJ7hL8pOPwrLoYd5GvDfpsJ9aTi
an05JbgcigbNOG0KRWpvxVllBIycF3upHLdeKmH5Q+7LFPfqtG9nDyFEdZOQXWJl
HUOS0wGnuqDM/uFDPRyVJ0XRPz38ILkAivK6tGIk4jYb+5ZqQsRtrc/kL7ka9M3h
T1Bbkx7t0+mOfbwbov4VPMgjBybi8VkMqrAUm3ltmQVfurXMypfec/HQn702jrA4
qYxOzbiaE2tpfuLW8ObIy8RY6BzP76UTqM1avsjWqLYOKHgUMusCMUMidnovD9M=
=AroK
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to