Wednesday, 27 April 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).


  1. Hi Robert,
    Can I ask what is causing these cairo builds to be so extremely slow compared to "normal" builds?

  2. Robert O'Callahan27 April 2005 at 10:54

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

  3. Is it possible to build with Cairo on Windows ?

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

  5. Can you build it with --with-system-cairo or something similar?
    Otherwise it's going to be hard to use a glitz enabled Cairo. :-)

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

  7. Robert O'Callahan27 April 2005 at 22:45

    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.