Hi Lukasz,
        This is fixed in SVN.
        The issue was caused by the fact that the given radius for the 
elliptical arc is insufficient to bridge from 83.5,431.40 to 98.20,400.35
the radius should have been a bit over 17.  As the spec requires we have code 
to scale up the ellipse to make it fit but in this case I
think the code cut it a tad to tight and for these numbers it later decided it 
wasn't large enough to bridge.  I've modified the code to ensure
we have some breathing room to avoid similar situations in the future.

        Thomas.


On May 18, 2012, at 5:06 AM, <lukasz.wroczyn...@lhsystems.com> wrote:

> Hello,
> I have a very simple SVG with a path element:
>  
> <path fill="none" d="M83.5,431.40 A15.95,15.95 0 0 1 98.20,400.35" 
> stroke-width="5" stroke="rgb(255,0,0)"/>
>  
> This path (being an elliptical arc) is not drawn at all by batik. However if 
> I change the coordinate 431.40 to 431.401 the arc is shown. Looks like a 
> nasty bug. I filed it into the bug database: 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=53258
>  
> Please help!
>  
> Here is a complete SVG that can be loaded into Squiggle:
>  
> <?xml version="1.0" encoding="UTF-8"?>
> <svg width="600" height="600" xmlns="http://www.w3.org/2000/svg";>
>     <g>
>       <path fill="none" d="M83.5,431.40 A15.95,15.95 0 0 1 98.20,400.35" 
> stroke-width="5" stroke="rgb(255,0,0)"/>
>     </g>
> </svg>
>  
>  
> Sitz der Gesellschaft / Corporate Headquarters: Lufthansa Systems Poland sp. 
> z o.o., Gdansk, Registereintragung / Registration: 0000083575
> Board of Directors: Adam Wojewodka
>  
> Sad Rejonowy Gdansk-Polnoc w Gdansku, VII Wydzial Gospodarczy Krajowego 
> Rejestru Sadowego, KRS 0000083575, NIP 583-24-68-348, Regon 191499280 kapital 
> zakladowy 200.000 zl. oplacony w calosci
> 
> 

Reply via email to