xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wulf Rowek" <f...@gmx.net>
Subject RE: FW: BUG in FillShapePainter (batik) <dasharray - problem W.R.>
Date Thu, 15 Dec 2005 11:00:54 GMT
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


Mime
View raw message