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


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

When rendering SVG <path> items that contain Arc commands, inkscape
screws up the geometry.  Simple test case:

    <svg version="1.1" width="900" height="900" 
xmlns="http://www.w3.org/2000/svg";>
    <g transform="scale(450,450) translate(1,1)">
    <circle r="1" stroke="red" stroke-width="0.001" fill="none"/>
    <path d="M 0 -1 A 1 1 0 0 0 -1 0 A 1 1 0 0 0 0 1 A 1 1 0 0 0 1 0 A 1 1 0 0 
0 0 -1" stroke="green" stroke-width="0.001" fill="none"/>
    </g>
    </svg>

This attempts to render a unit circle twice.  First, in red, as a
<circle>.  Secondly, in green, in four equal arc-segment pieces in
a <path>.  The correct result is that the two versions of the circle
coincide.  There should be no visible difference between their locations.

For testing, I've invoked inkscape to render it via "inkscape -bblack
-e t1.png t1.svg".  Actual result is that the red version is properly
circular but the green one deviates from it significantly.  They coincide
at the four cardinal points, but between them the green one is located
well inside the red circle.  I crudely measured its diagonal diameter
to be about 1.7% less than the circle's diameter.

In my real application, where I first noticed the fault, the deviations
are much more significant than the 1.7% that you see with the simple
test case.  It seems to depend on the angular extent of the arc, in a
non-obvious manner.  The bug is utterly devastating.

Googling reveals some talk about Inkscape internally approximating arcs
with Bezier curves.  That could account for this, if it's done ineptly.
If Inkscape is to use such approximations then it must use more control
points, adaptively, to get a result that's close enough given the output
resolution.  But it would be much better, of course, for Inkscape to
actually handle arcs as arcs, rendering them natively.

-zefram



--- 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