Your message dated Wed, 04 Jan 2017 17:03:47 +0000
with message-id <[email protected]>
and subject line Bug#740785: fixed in inkscape 0.92.0-1
has caused the Debian Bug report #740785,
regarding inkscape: Wrong "flag" parsing in path descriptions
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.)


-- 
740785: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740785
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: inkscape
Version: 0.48.4-3+b1
Severity: normal

Dear Maintainer,

Consider the two SVGs encosed, and the diff between them.
<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 100 100" stroke="#3c790a">
<circle cx="50" cy="50" r="45" stroke-width="10" fill="#fff"/>
<path stroke-width="1.5" fill="none" d="M17,66C21,63,43,76,37,68"/>
<path stroke="#793c0a" stroke-width="1.5" fill="none" d="M33,75a8,8,0,0,16,8"/>
<path stroke-width="1.5" fill="none" 
d="M50,84C68,49,57,90,63,77,66,58,75,87,71,69,68,62,74,65,78,66"/>
<path stroke-width="1.5" fill="none" d="M65,62C57,64,64,71,67,64"/>
<path stroke-width="1.5" fill="none" d="M47,60L43,69,44,69,51,66"/>
<path stroke-width="1.5" fill="none" 
d="M50,52C47,60,53,54,52,60,50,68,62,60,57,62,58,54,65,60,59,54,48,42,20,25,29,37"/>
<path stroke-width="1.5" fill="none" d="M29,40C23,50,27,47,29,48"/>
<path stroke-width="1.5" fill="none" 
d="M33,37C28,42,37,38,35,42,34,44,30,38,32,48,31,50,36,52,28,50"/>
<path stroke-width="1.5" fill="none" d="M32,53L28,52"/>
<path stroke-width="1.5" fill="none" 
d="M30,53C28,55,25,57,30,61,32,62,32,65,38,62,40,61,43,63,44,57,44,56,48,52,44,48L45,45,41,42,40,43,41,47,39,50,35,51"/>
<path stroke-width="1.5" fill="none" d="M32,31C43,30,50,16,64,23"/>
<path stroke-width="1.5" fill="none" 
d="M43,37C54,28,49,56,69,48,82,40,78,21,68,20L68,26C72,29,72,29,72,33"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 100 100" stroke="#3c790a">
<circle cx="50" cy="50" r="45" stroke-width="10" fill="#fff"/>
<path stroke-width="1.5" fill="none" d="M17,66C21,63,43,76,37,68"/>
<path stroke="#793c0a" stroke-width="1.5" fill="none" d="M33,75a8,8,0,0,1,6,8"/>
<path stroke-width="1.5" fill="none" 
d="M50,84C68,49,57,90,63,77,66,58,75,87,71,69,68,62,74,65,78,66"/>
<path stroke-width="1.5" fill="none" d="M65,62C57,64,64,71,67,64"/>
<path stroke-width="1.5" fill="none" d="M47,60L43,69,44,69,51,66"/>
<path stroke-width="1.5" fill="none" 
d="M50,52C47,60,53,54,52,60,50,68,62,60,57,62,58,54,65,60,59,54,48,42,20,25,29,37"/>
<path stroke-width="1.5" fill="none" d="M29,40C23,50,27,47,29,48"/>
<path stroke-width="1.5" fill="none" 
d="M33,37C28,42,37,38,35,42,34,44,30,38,32,48,31,50,36,52,28,50"/>
<path stroke-width="1.5" fill="none" d="M32,53L28,52"/>
<path stroke-width="1.5" fill="none" 
d="M30,53C28,55,25,57,30,61,32,62,32,65,38,62,40,61,43,63,44,57,44,56,48,52,44,48L45,45,41,42,40,43,41,47,39,50,35,51"/>
<path stroke-width="1.5" fill="none" d="M32,31C43,30,50,16,64,23"/>
<path stroke-width="1.5" fill="none" 
d="M43,37C54,28,49,56,69,48,82,40,78,21,68,20L68,26C72,29,72,29,72,33"/>
</svg>
--- path-flag-misparsed.svg	2014-03-04 13:41:10.000000000 -0500
+++ path-flag-intended.svg	2014-03-04 13:40:51.000000000 -0500
@@ -3,3 +3,3 @@
 <path stroke-width="1.5" fill="none" d="M17,66C21,63,43,76,37,68"/>
-<path stroke="#793c0a" stroke-width="1.5" fill="none" d="M33,75a8,8,0,0,16,8"/>
+<path stroke="#793c0a" stroke-width="1.5" fill="none" d="M33,75a8,8,0,0,1,6,8"/>
 <path stroke-width="1.5" fill="none" d="M50,84C68,49,57,90,63,77,66,58,75,87,71,69,68,62,74,65,78,66"/>
The only difference between them is a single comma in an "a" command.
This comma is supposed to be optional.

In <http://www.w3.org/TR/SVG/paths.html#PathDataBNF>, the most relevant
productions are:

,----
| elliptical-arc:
|     ( "A" | "a" ) wsp* elliptical-arc-argument-sequence
| elliptical-arc-argument-sequence:
|     elliptical-arc-argument
|     | elliptical-arc-argument comma-wsp? elliptical-arc-argument-sequence
| elliptical-arc-argument:
|     nonnegative-number comma-wsp? nonnegative-number comma-wsp? 
|         number comma-wsp flag comma-wsp? flag comma-wsp? coordinate-pair
| flag:
|     "0" | "1"
| comma-wsp:
|     (wsp+ comma? wsp*) | (comma wsp*)
`----

We end up trying to parse "0,16,8" as "flag comma-wsp? flag comma-wsp?
coordinate-pair". This is supposed result in a flag of "0", another of
"1", and a coordinate-pair of "6,8".  No comma is needed between the "1"
and the "6", because a flag cannot be more than one digit long anyway.

Firefox and Chrom{e,ium} do fine with this.

Unfortunately, Inkscape doesn't actually manage this; instead, it
appears to abort parsing the path at this point, presumably believing it
to be syntactically invalid. This results in the enclosed actual vs.
expected renderings.

(The original version of the test SVG had only one path, which was the
concatenation of the paths in the provided version.  Inkscape only
displayed through the first path, which is consistant with the path
parse error handling given in the SVG spec; namely, draw everything
before the parse error, but stop at the error.  Inkscaped didn't warn
about it like the spec suggests, though, even though an SVG editor is
probably where such warnings would be MOST useful.)

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.9-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages inkscape depends on:
ii  gconf-service        3.2.6-1
ii  libaspell15          0.60.7~20110707-1
ii  libatk1.0-0          2.10.0-2
ii  libatkmm-1.6-1       2.22.7-2
ii  libc6                2.17-97
ii  libcairo2            1.12.16-2
ii  libcairomm-1.0-1     1.10.0-1
ii  libfontconfig1       2.11.0-1
ii  libfreetype6         2.5.2-1
ii  libgc1c2             1:7.2d-6
ii  libgcc1              1:4.8.2-12
ii  libgconf-2-4         3.2.6-1
ii  libgdk-pixbuf2.0-0   2.28.2-1+b1
ii  libglib2.0-0         2.36.4-1
ii  libglibmm-2.4-1c2a   2.36.2-1
ii  libgnomevfs2-0       1:2.24.4-4
ii  libgomp1             4.8.2-12
ii  libgsl0ldbl          1.16+dfsg-1
ii  libgtk2.0-0          2.24.22-1
ii  libgtkmm-2.4-1c2a    1:2.24.4-1
ii  libgtkspell0         2.0.16-1
ii  liblcms1             1.19.dfsg-1.2+b1
ii  libmagick++5         8:6.7.7.10-7
ii  libmagickcore5       8:6.7.7.10-7
ii  libpango-1.0-0       1.36.0-1+b1
ii  libpangocairo-1.0-0  1.36.0-1+b1
ii  libpangoft2-1.0-0    1.36.0-1+b1
ii  libpangomm-1.4-1     2.34.0-1
ii  libpng12-0           1.2.49-5
ii  libpoppler-glib8     0.22.5-4
ii  libpoppler37         0.22.5-4
ii  libpopt0             1.16-8
ii  libsigc++-2.0-0c2a   2.2.10-0.2
ii  libstdc++6           4.8.2-12
ii  libwpd-0.9-9         0.9.9-1
ii  libwpg-0.2-2         0.2.2-1
ii  libx11-6             2:1.6.2-1
ii  libxml2              2.9.1+dfsg1-3
ii  libxslt1.1           1.1.28-2
ii  zlib1g               1:1.2.8.dfsg-1

Versions of packages inkscape recommends:
ii  aspell              0.60.7~20110707-1
ii  imagemagick         8:6.7.7.10-7
ii  libgnomevfs2-extra  1:2.24.4-4
pn  libwmf-bin          <none>
pn  perlmagick          <none>
pn  pstoedit            <none>
ii  python-lxml         3.2.0-1+b1
ii  python-numpy        1:1.7.1-3
ii  transfig            1:3.2.5.e-1

Versions of packages inkscape suggests:
ii  dia                  0.97.2-15
pn  libsvg-perl          <none>
pn  libxml-xql-perl      <none>
pn  python-uniconvertor  <none>
ii  ruby                 1:1.9.3

-- no debconf information

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

--- End Message ---
--- Begin Message ---
Source: inkscape
Source-Version: 0.92.0-1

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

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.
Mattia Rizzolo <[email protected]> (supplier of updated inkscape 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: SHA512

Format: 1.8
Date: Wed, 04 Jan 2017 16:54:12 +0100
Source: inkscape
Binary: inkscape
Architecture: source
Version: 0.92.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Description:
 inkscape   - vector-based drawing program
Closes: 522532 598791 668224 740785 816494
Changes:
 inkscape (0.92.0-1) experimental; urgency=medium
 .
   * New upstream version 0.92.0.
     https://inkscape.org/en/news/2017/01/04/inkscape-version-092-released/
     http://wiki.inkscape.org/wiki/index.php/Release_notes/0.92
     + Fix bug where arcs were not rendered accuretely.  Closes: #668224
     + Fix crash when using the poppler PDF importer.  Closes: #816494
     + Fix bug involving duplicating a text linked to a path.  Closes: #522532
     + Fix bug where Bézier curves were drawn instead of arcs.  Closes: #598791
     + Fix bug on parsing flags for arch path.  Closes: #740785
   * gbp: switch packaging branch to experimental.
   * Bump debhelper compat level to 10.
     + Drop --parallel and '--with autotools_dev', now defaults.
   * Drop patches applied upstream
     - fix-FTBFS.patch
     - reproducible-build.patch
     - fix-FTBFS-with-gcc6.patch
     - fix-cursor-color-in-BE.patch
   * Move to the cmake build system
   * d/control:
     + Build-dep on libpotrace-dev for the Trace Bitmap and Paintbucket tools.
     + Build-dep on libdbus-1-dev and libdbus-glib-1-dev for dbus support.
   * d/rules:
     + Enable DBus support.
     + Override override_dh_autoreconf, useless now that we're using cmake.
Checksums-Sha1:
 613aba289e9e7a6fdfb50b9ffa6c41d60d66cedf 2873 inkscape_0.92.0-1.dsc
 8f576bc828138e9c3c835a458c3cefd5801a907a 30827883 inkscape_0.92.0.orig.tar.bz2
 9d799e2e7bceac0b2bce403a5d51f350d7f25f1c 181 inkscape_0.92.0.orig.tar.bz2.asc
 548acff0dc0b419bcfab4da373bf15a5ec7dbffe 23788 inkscape_0.92.0-1.debian.tar.xz
Checksums-Sha256:
 bb6164d5b98b6afb2cd38593e96c96e098e386612401867d4622ef1bbc276183 2873 
inkscape_0.92.0-1.dsc
 b8b4c159a00448d465384533e5a70d3f33e5f9c6b74c76ea5d636ddd6dd7ba56 30827883 
inkscape_0.92.0.orig.tar.bz2
 e363fa5f97e4d38b84b071f87f4c820323c206b4a1d80891e83f4cc9fed638a2 181 
inkscape_0.92.0.orig.tar.bz2.asc
 d2f55b08e4086750c0f928914d3dbb1509cc6439b24629ae3e2244fefa6cb854 23788 
inkscape_0.92.0-1.debian.tar.xz
Files:
 8f94526112f39bca6049d31e79f2d3f0 2873 graphics optional inkscape_0.92.0-1.dsc
 52117503fcf9aad43cf091c6401571d0 30827883 graphics optional 
inkscape_0.92.0.orig.tar.bz2
 6ac49d02c21d96ef75d1d303e50c1d57 181 graphics optional 
inkscape_0.92.0.orig.tar.bz2.asc
 7a45be59302c58299fa008dc1e5f5a27 23788 graphics optional 
inkscape_0.92.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlhtJYISHG1hdHRpYUBk
ZWJpYW4ub3JnAAoJEAgWueGMdiutIi4QAKjafGgFnOCLe68IAwtY3saDdFbGLSjP
N/uF5KrF9pSnuJql5+TiZiqY1DFkOtoXps+AxrHcxkYeLdE1GpUigdYbXdg4aDma
3n/10aUIdk6YNnJeoBZCbk1whh1vTXQM9kat+n/2rmLBOartPeW/dxAlUhSIPNTJ
BJXRjM1uJR3IWffUSCtSF8ywp0Ak+L//m6RIn2SBDqDq7OLd2UGC2hRtSzZJpu0l
zHoWPvEvr29oWyoLWAcM6rPrhZi8ty9Ab8xfnEH04FaFnQOuIgNio4n0Cz+o7e66
lc4q3XoAPfutsk/fA1aG5ATMwI/BbeTVuv+9hzUta1MAnqefeQhfGFvmbX90uIbF
5ygl3IZ0W57nRrKoVeOtvwn/Jr6JB9tF6F+8luFRyHe/dv8Iv+rH3g2LC+39tJ4J
6IQaFCA8Vi26aT2QPo7MmCPgknz5ylJENQxbMFYDnUlWVDqRhgy6bNcRqfBebAMP
LhqRTlTkQMsAd2Q4reVEWiMMyjtMGKPkzNbCWBfckO/5O3+l7eAGRAFro5K6QJLu
lt67IQ+tvAsrm1XQz4c0xF0yw/GLLHxhZ3qx9Y/GXW3Ugpsv8wOYhS+Ek07YbgJG
hOvgcVgjWQ6jE1e/c8GQROp8ecfNNYJgPebHTrm+xmuOehEQkfajk/Z854ud9iLg
BAg8PWOH6XXt
=B6NT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to