On Thursday 21 June 2001 14:17, Keiron Liddle wrote:
> If I try to render the following svg document batik has some troubles.
> The arc starts and finishes in the same place.
>
> The Graphics2D seems to be getting a pair of "NaN" values for the "lineto"
> operator.
>
> The viewer and the png transcoder seem to hang using lots of cpu.
>
> I presume the numbers are allowed (I only looked briefly at the spec).
>
>
> Thanks.
>
> <svg contentScriptType="text/ecmascript" width="300.0" zoomAndPan="magnify"
> style="font-size:12.0;font-family:sansserif"
> contentStyleType="text/css"
> height="150.0" preserveAspectRatio="xMidYMid meet"
> xmlns="http://www.w3.org/2000/svg">
> <path style="stroke:black;fill:
>
>
> rgb(240,100,100)"
> d="M 117.0 36.0A 77.0 22.0 0 0 1 117.0 36.0L 117 58.0L 117.0
> 36.0z"/>
> </svg>
Sorry for the delay.
I agree that it is a bug. I haven't enough time yet to try to identify if
it's our fault or a bug in the 2D API. I have already got a similar problem
while implementing the elliptical arc in the ExtendedGeneralPath class of
Batik.
If you can enter a bug in buzilla, that will help us.
Thanks,
Thierry.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]