Thanx for your suggestions,
we had some gradiants in the svg, which were displayed in just black.
and it seems, that fop ignores the style given by the svg-tag.
where there are attributes like 
and maybe these things make the svg look nice in batik and the
because in the svg the fill attribute had only none, black and gray as
here is the svg tag we´re using...
<svg xmlns:xlink=""; style="fill-opacity:1;
color-interpolation:auto; color-rendering:auto; text-rendering:auto;
stroke:black; stroke-linecap:square; stroke-miterlimit:10;
stroke-opacity:1; shape-rendering:auto; fill:red; stroke-dasharray:none;
font-weight:normal; stroke-width:1; font-family:&apos;sansserif&apos;;
font-style:normal; stroke-linejoin:miter; font-size:12;
image-rendering:auto; stroke-dashoffset:0;"

after all, it seems i have to go deeper into this svg stuff.



> -----Ursprüngliche Nachricht-----
> Von: J.Pietschmann [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 14. Mai 2002 21:17
> Betreff: Re: Problem with SVG only Black & White
> Sam Prokop wrote:
> > i´ve got some svg made by jfree-chart, they look nice in the
> > batik-browser, but if i render them with fop 0.20.3 to pdf 
> they are just
> > black and white.
> This hasn't come up before. As a wild guess check
> whether your SVG contains transparent stuff or
> certain other shading effects, FOP can't render them
> properly into PDF. Apart from this, I'd have to resort
> to mind reading, which I'm very bad at, unless you
> post your SVG code. It would be nice if you trimmed it
> down as much as possible. This may also reveal the
> problem to you.
> J.Pietschmann

Reply via email to