[dev] bug in image library

Chuck Hagenbuch chuck at horde.org
Thu Oct 30 19:31:53 PST 2003


Quoting trent <horde at low.ru>:

> i'm find one bug here http://cvs.horde.org/co.php/horde/lib/Image/svg.php
> function arc() contain error on this string
>
> $path .= "A $r,$r 0 0 1 "
>
> need update to
>
> $largeArcFlag = 0;
> if ($end - $start > 180) {
>         $largeArcFlag = 1;
> }
> $path .= "A $r,$r 0 $largeArcFlag 1 "

In which place? Both? Can you please send a patch with diff -u?

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.


More information about the dev mailing list