Vincent,

        Thanks again for the responses...

> >     Fop (0.95beta) is included in Fedora 9. I am having trouble with
> > including an SVG graphic that in turn includes a PNG (SVG graphics
> > without including a PNG work fine).
> >
> > SEVERE: svg graphic could not be rendered: Unsupported DataBuffer type: 
> > java.awt.image.DataBufferUShort
> > java.lang.UnsupportedOperationException: Unsupported DataBuffer type: 
> > java.awt.image.DataBufferUShort
> >         at 
> > org.apache.fop.pdf.AlphaRasterImage.outputContents(AlphaRasterImage.java:169)
> 
> Weird. Sounds crazy, but are you sure OpenJDK provides an implemenation
> for this class? Can you reproduce the problem with a Sun jvm?

I was hoping not to have to install jvm and build fop myself... looks
like I might have to.

OK, I think I have installed Sun java. I am not a java expert... this is
what I get when I type java -version:

java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

and javac -version:

javac 1.6.0_06

And I get the same error. Drats!

> >     I am also getting some weirdness where a few PNG files end up with the
> > wrong colors. I didn't have these troubles with a fop svn version from
> > last year with Fedora 6.
> 
> The image package has been largely rewritten in the 0.95beta version,
> and a bug has recently been fixed regarding PNG images drifting to
> yellow. You’re very probably hitting this bug. Can you try downloading
> and building the head version of the 0.95 branch?
>     svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95
> then run
>     ant package

That fixed the PNG problem.

                                        Thanks for your help,

                                        Tav




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to