Hi Andreas,

In PDF the dasharray is specified with whole numbers only, the numbers
represent units.
If a fraction is placed in the dash array then the viewer will report an
So it rounds all numbers to a whole number greater than 0 when creating
the dasharray.

You could try scaling it.


On Fri, 2002-11-08 at 15:40, Andreas Neumann wrote:
> Hi,
> I am successfully using fop to convert svg files (using an A4 coordinate 
> system 
> with mm as units) to pdf.
> The only problems I have is that the dashing of the line does not work 
> properly. I noticed that fop only dashes lines until a unit one and cannot 
> use 
> dashes below 1 (a fraction of a unit). Batik and Adobe SVG Viewer render the 
> svg's fine.
> Any idea how to solve this?
> ----------------
> below a code-fragment I use:
> <polyline points="....." style="stroke-width:0.3;fill:none;stroke-
> dasharray:0.3,0.3" />
> while this works fine on batik and asv it the dashes are 1 mm wide in the 
> resulting pdf-file, after conversion with fop.
> Thanks for any hints,
> Andreas

Reply via email to