W3C home > Mailing lists > Public > www-svg@w3.org > October 2008

Re: animate-elem-35 (ISSUE-2113)

From: Doug Schepers <schepers@w3.org>
Date: Fri, 10 Oct 2008 23:39:43 -0400
Message-ID: <48F01FFF.9080100@w3.org>
To: Piers Wombwell <piers@ekioh.com>
CC: www-svg@w3.org

Hi, Piers-

Thanks much for checking this out for us.  We will take this into
account when deciding what to do about this test.


Piers Wombwell wrote (on 10/9/08 9:21 AM):
> Hi guys,
> Just had a quick glance at your test suite results, and noticed a
> comment against test animate-elem-35.
> The problem here is down to fixed point maths. The inside of the 'A' is
> made from a path using relative co-ordinates which don't map well to
> fixed point maths. So when it draws the horizontal line to complete the
> path in the bottom-right, the end point doesn't quite match the start
> point. The closepath then expects the current point to be equal to the
> start point, but they aren't quite, and so it draws a sub-one-pixel line
> -- and so the line joins aren't as expected. Rather than one line join
> between the last and first lines (_ and \), there will be two line
> joins, one between the _ and the short closepath, and one between the
> short closepath and the first line \.
> I assume the problem is the same on the outer part of the 'A', but
> haven't confirmed this.
> I'm not sure what precision you need for the test to pass, but floating
> point tends to pass and fixed point (24.8) fails in my experience.
> Piers.
Received on Saturday, 11 October 2008 03:40:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:20 UTC