Hi,
Tavmjong Bah wrote:
> Hi again,
>
> 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 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
If there’s no rush you might want to wait a couple of weeks that the
final 0.95 version is released.
HTH,
Vincent
--
Vincent Hennebert Anyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]