You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Wulf Rowek <fl...@gmx.net> on 2005/12/15 12:00:54 UTC

RE: FW: BUG in FillShapePainter (batik)

Hi,

fill="none" will solve the problem below for individual backgrounds.

Wulf Rowek


>From: Roberto Pellagatti [mailto:roberto.pellagatti@ropel.it] 
>Sent: Tuesday, June 01, 2004 9:36 AM
>To: Thierry.Kormann@sophia.inria.fr
>Subject: BUG in FillShapePainter (batik)
>
>
>Hello Thierry,
>I've found the cause of a strange behaviour in Batik:
>with the following code 
>
><?xml version="1.0" encoding="UTF-8"?>
><svg>
><line x1="70" y1="422" x2="270" y2="129" stroke-width="4" stroke="#0000ff"
>stroke-dasharray="10,20"/>
></svg>
>
>I get a big dashed line with a thin black line through the white spaces:
>this black line is very annoying, specially with dashed lines with a width
>of 1 or 2 (the line covers the dashing);
>I create a PDF with the command
>java -jar batik-1.5.1/batik-rasterizer.jar -m application/pdf -bg
>255.255.255.255 myfile.svg
>
>
>I've also found that changing the SVG code 
><line x1="70" y1="422" x2="270" y2="129" stroke-width="4" stroke="#0000ff"
>stroke-dasharray="10,20"/>
>adding   fill="white" 
>helps making the fill invisible (on white backgrounds).


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org