[cairo] [API] unbreak CAIRO_FONT_TYPE_ATSUI

Behdad Esfahbod behdad at behdad.org
Mon Mar 31 00:55:35 PDT 2008

On Wed, 2008-03-26 at 13:47 -0400, Carl Worth wrote:
> A *long* time ago people asked about supporting dynamic backends, but
> I wasn't comfortable with freezing any of the backend
> interface. Specifically, I wanted to see high-quality PostScript/PDF
> output coming out of cairo before I would be comfortable freezing
> anything. We've got that now, so taking the "high-level" backend
> interface, (stroke, fill, mask, paint, show_glyphs), and providing it
> for use in dynamic backends might now make a lot of sense.

Another use for "dynamic backends" is to have separate .so for some
backends, eg directfb.

> And if we do that, then we'll obviously need dynamic type identifiers
> as well. Using pointers to strings for the type identifiers is cute,
> but not feasibly compatible. So I think we'll just want something that
> can register numbers greater than the highest enum value, (those will
> then be locked in stone), and then a function that can map a numeric
> identifier to a string. That seems simple enough to me.

Yeah, reinventing GObject. :P


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list