[cairo] [API] unbreak CAIRO_FONT_TYPE_ATSUI

Vladimir Vukicevic vladimir at pobox.com
Mon Mar 31 10:21:28 PDT 2008


On Mar 31, 2008, at 12:55 AM, Behdad Esfahbod wrote:
>
>> 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

Maybe, but let's not use GObject -- reinventing it for our fairly  
simple use case is a better option than pulling in all of glib..  I  
don't think this will be hard to solve, so we should figure it out  
post-1.6.

     - Vlad



More information about the cairo mailing list