[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Update on libxalan2-java to main



On Sat, May 07, 2005 at 10:05:51PM +0200, Arnaud Vandyck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sat, 07 May 2005 21:32:25 +0200, 
> Wolfgang Baer <WBaer@gmx.de> wrote: 
> 
> > Hi all,
> >
> > there is a short update on xalan2.
> 
> Thanks Wolfgang,
> 
> [...]
> 
> > However this setup fails as it needs a Graphics2D object
> > for transformation of the documentation with:
> >
> > [java] [Xalan2Processor] Applying XSL sheet
> > "sbk:/style/stylesheets/context2label.xsl"
> > [java] java.lang.Error: Grahics2D not implemented. Cairo was not found
> > or disabled at configure time
> > [java] at gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics
> > (GdkGraphicsEnvironment.java:80)
> > [java] at java.awt.image.BufferedImage.createGraphics
> > (BufferedImage.java:293)
> 
> Building kaffe with Cairo is on the Debian Kaffe Road Map
> http://java.debian.net/index.php/PlansForKaffeInDebian

We can currently only use cairo 0.3.0. The 0.4.0 in Debian doenst work.
When the cairo API stabilizes in CVS and a new version is in Debian we
can activate this.
 
> > I tried also with a local built kaffe with the cairo Graphics2D
> > implementation. This fails with the following exception:
> >
> > [java] [StyleBook] Caught java.lang.ClassCastException
> > [java] java.lang.ClassCastException: can't cast
> > `java/awt/image/BufferedImage' to `gnu/java/awt/peer/gtk/GtkImage'
> > [java]    at gnu.java.awt.peer.gtk.GtkToolkit.prepareImage
> > (GtkToolkit.java:409)
> > [java]    at java.awt.Component.prepareImage (Component.java:2092)
> > [java]    at java.awt.Component.prepareImage (Component.java:2072)
> > [java]    at java.awt.MediaTracker.checkID (MediaTracker.java:426)
> > ...
> 
> I hope our free classpath folks are reading... :-D

This is at least fixed in GNU classpath CVS and most probably in kaffe CVS
already too. I havent checked kaffe CVS.
 
> Many thanks for your report Wolfgang,

Yes, thanks for the report.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/



Reply to: