« Star Wars | Main | Globalization »

April 26, 2005

Cairo Status

All my supporting patches have been checked into the trunk. It should be possible to build with cairo on Linux by running configure --enable-default-toolkit=cairo-gtk2 and get results similar to what I posted last week (better, actually, since I've fixed some image rendering bugs).

Posted by roc at April 26, 2005 7:52 PM

Comments

Hi Robert,

Can I ask what is causing these cairo builds to be so extremely slow compared to "normal" builds?

Posted by: Martijn Kint at April 26, 2005 10:38 PM

I don't know yet because I haven't run any profiles and I don't know the Cairo code.

Posted by: Robert O'Callahan at April 26, 2005 10:54 PM

Is it possible to build with Cairo on Windows ?

Posted by: Michel at April 26, 2005 11:16 PM

Oh ok, just wondering. thank you for your wonderful work on Gecko though, i'm an avid follower of your blog!

Posted by: Martijn Kint at April 26, 2005 11:53 PM

Can you build it with --with-system-cairo or something similar?

Otherwise it's going to be hard to use a glitz enabled Cairo. :-)

Posted by: Ernst Persson at April 27, 2005 12:39 AM

Roc will you also enable cairo builds on non linux os ? what are the plans for non linux users ?

Posted by: Ludovic at April 27, 2005 3:13 AM

Michel: not yet.

Ernst: Yes you can, but I don't recommend it because our Cairo has some patches that haven't made it to trunk Cairo yet, and it's not tested with any system Cairo. I'm going to hack my build to use a hand-built Glitz to see how that goes. In the medium term we might have to pull Glitz into our tree.

Ludovic: We will set up non-GTK2 Cairo builds at some point in the future, but right now that is not a priority. If someone wants to hack on Cairo-Win32 then they can look at what we've done for GTK2 and contribute a Windows configuration.

Posted by: Robert O'Callahan at April 27, 2005 10:45 AM