<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th>
<td>libsvg bug and proposed patch</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Tue, 20 Mar 2012 19:11:08 +0000</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Clay Hopperdietzel <a class="moz-txt-link-rfc2396E" href="mailto:hoppy@gnurdle.com"><hoppy@gnurdle.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:raph@acm.org">raph@acm.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:cworth@isi.edu">cworth@isi.edu</a></td>
</tr>
</tbody>
</table>
<br>
All,<br>
<br>
does libsvg have an active maintainer?<br>
<br>
I sumbitted a patch a week ago to who seemed to be the owners of
this, but got no response.<br>
<br>
The message follows.<br>
<br>
If there is a better way of getting these taken care of, please
advise.<br>
<br>
Clay<br>
<br>
---------- <br>
<br>
I hope this is the proper approach to filing a bug report, if not,
please direct me to the proper place.<br>
<br>
I'm using libsvg-0.1.4 with libsvg-cairo-0.1.6<br>
<br>
I created an SVG using inkscape. <br>
<br>
The relevent part of this given below:<br>
<br>
<tt><path<br>
style="fill:#ac8a00;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"<br>
d="m 15,36.233643 18.047549,-20 26.952451,10 7.202838,30
-2.202838,30 -37.675769,-10 z"<br>
id="path4723"<br>
inkscape:connector-curvature="0" /></tt><br>
<br>
this figure was not rendering properly with libsvg, but was in
inkscape plus chrome web browser.<br>
<br>
After running with cairo trace, discovered that the net sum of what
this did was a number of move commands, followed by a close path.<br>
<br>
I believe that the problem is failure to observe the following from
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="http://www.w3.org/TR/SVG/paths.html#PathDataClosePathCommand">http://www.w3.org/TR/SVG/paths.html</a><br>
<br>
8.3.2 moveto <br>
<br>
"... If a moveto is followed by multiple pairs of coordinates, the
subsequent pairs are treated as implicit lineto commands. Hence,
implicit lineto commands will be relative if the moveto is relative,
and absolute if the moveto is absolute. ..."<br>
<br>
attached is a patch which applied to libsvg seems to correct this
problem.<br>
<br>
Thank you for your attention.<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:hoppy@gnurdle.com">hoppy@gnurdle.com</a><br>
<br>
<br>
<br>
</body>
</html>