[cairo] gobject boxed types

Alexander Larsson alexl at redhat.com
Mon Sep 15 04:46:02 PDT 2008


On Sat, 2008-09-13 at 15:05 -0400, Havoc Pennington wrote:
> Hi,
> 
> On Sat, Sep 13, 2008 at 1:38 PM, Colin Walters <walters at verbum.org> wrote:
> > Actually I just had a random thought - what about putting this code
> > into pangocairo?  All of Gtk+, GooCanvas, HippoCanvas and Clutter
> > depend on Pango, and Pango depends on both cairo and gobject.  It's a
> > bit of an odd fit but the dependency graph would remain unchanged.
> 
> cairo-glib seems a bit like shooting a squirrel with a bazooka, in
> terms of adding another tarball someone has to release and adding more
> overhead to symbol lookups in all apps.

If you dlopen cairo-glib and use RTLD_LOCAL I think you avoid the symbol
lookup overhead. Maybe this is useful?




More information about the cairo mailing list