List Info

Thread: Re: batik rasterizer bug ???




Re: batik rasterizer bug ???
user name
2007-03-21 22:03:04
Actually it seems that it is the stroke of the path element with arcs which is not converted correctly
if I just fill it it works fine.
 
----- Original Message -----
Sent: Wednesday, March 21, 2007 9:15 PM
Subject: batik rasterizer bug ???

Hi,
the SVG below fails to be converted in PDF
The arcs in the path element gets wrong points or parameters .....
It seems it has to do with the style attribute because when i remove
it the conversion works fine.
Can you confirm it is a Batik bug ???
Thanks
Francoise
 
 
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
<!ENTITY ccc "stroke-width:0.00010146;fill:none;stroke:black;">
 ]>
<svg version="1.1" id="svgAll" xmlns="http://www.w3.org/2000/svg" xmlnslink="http://www.w3.org/1999/xlink"&nbsp; text-rendering="optimizeSpeed" image-rendering="optimizeSpeed" shape-rendering="optimizeSpeed" preserveAspectRatio="xMidYMid" stroke-linecap="round" stroke-linejoin="round" fill-rule="evenodd" xml:space="preserve" viewBox="-0.289424 -0.559485 0.577168 0.559485" width="100%" height="100%"  >
<g ; style="&amp;ccc;">
<path d="M0.106537132,-0.170358849&nbsp; A0.107042048,0.107042048 -0.16997327 0,0 -0.107546022,-0.16972375 " />
</g>
</svg&gt;
Re: batik rasterizer bug ???
user name
2007-03-30 05:09:15
Hi Francoise,

     Your example works for me with the 1.7 beta 1 release.

"msb" <contactmysmartboard.com> wrote
on 03/21/2007 11:03:04 PM:

> Actually it seems that it is the stroke of the path
element with 
> arcs which is not converted correctly 
> if I just fill it it works fine.
> 
> ----- Original Message ----- 
> From: msb 
> To: batik-usersxmlgraphics.apache.org 
> Sent: Wednesday, March 21, 2007 9:15 PM
> Subject: batik rasterizer bug ???
> 
> Hi, 
> the SVG below fails to be converted in PDF 
> The arcs in the path element gets wrong points or
parameters .....
> It seems it has to do with the style attribute because
when i remove 
> it the conversion works fine. 
> Can you confirm it is a Batik bug ???
> Thanks 
> Francoise 
> 
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG
1.1//EN" "http://www.w3.
> org/Graphics/SVG/1.1/DTD/svg11.dtd" [
> <!ENTITY ccc
"stroke-width:0.00010146;fill:none;stroke:black;"&
gt;
>  ]>
> <svg version="1.1" id="svgAll"
xmlns="http://www.w3.org/20
00/svg" 
> xmlnslink=
"http://www.w3.org/
1999/xlink"  text-
> rendering="optimizeSpeed"
image-rendering="optimizeSpeed" shape-
> rendering="optimizeSpeed"
preserveAspectRatio="xMidYMid" stroke-
> linecap="round"
stroke-linejoin="round"
fill-rule="evenodd" xml:
> space="preserve" viewBox="-0.289424
-0.559485 0.577168 0.559485" 
> width="100%" height="100%"  >
> <g  style="&ccc;">
> <path d="M0.106537132,-0.170358849 
           A0.107042048,0.107042048 -0.16997327 0,0 
-0.107546022,-0.16972375 " />
> </g>
> </svg>

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-users-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-users-helpxmlgraphics.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )