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 
fill-opacity
color-interpolation
color-rendering
etc.
and maybe these things make the svg look nice in batik and the
adobe-viewer.
because in the svg the fill attribute had only none, black and gray as
values.
here is the svg tag we´re using...
<svg xmlns:xlink="http://www.w3.org/1999/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;"
xmlns="http://www.w3.org/2000/svg";>

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

cheers

sam

> -----Ursprüngliche Nachricht-----
> Von: J.Pietschmann [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 14. Mai 2002 21:17
> An: [EMAIL PROTECTED]
> 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