classpath
[Top][All Lists]
Advanced

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

Re: Missing GdkClasspathFontPeer files in classpath 0.10


From: graydon hoare
Subject: Re: Missing GdkClasspathFontPeer files in classpath 0.10
Date: Mon, 09 Aug 2004 19:11:55 -0400
User-agent: Opera M2/7.53 (Linux, build 737)

On Tue, 10 Aug 2004 00:25:53 +0200, Mark Wielaard <address@hidden> wrote:

You can try the attached patch though (and get those two C files from
CVS). It adds all build infrastructure. But does not detect whether the
correct cairo libs have been installed and have not been tested at all.
You will have to configure with --enable-regen-headers.

Graydon, how ready is this code and how would people test it out?

it works, more or less. it's slower than gdk, but then, it's doing a lot
more (and nobody's profiled or optimized it). also some of the font stuff
is more fragile, and some of the fancier stuff (custom compositing operators)
just fail outright.

to test it out, you have to get it built (and get the configury finding the
appropriate cflags, etc. as in libgcj), and then there's a system property you
set to switch between GdkGraphics and GdkGraphics2D (which uses cairo):

 -Dgnu.java.awt.peer.gtk.Graphics=Graphics     <- uses GDK (the default)
 -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D   <- uses cairo

-graydon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]