In PDF the dasharray is specified with whole numbers only, the numbers
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
You could try scaling it.
On Fri, 2002-11-08 at 15:40, Andreas Neumann wrote:
> I am successfully using fop to convert svg files (using an A4 coordinate
> 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
> 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,