Re: How to deprecate PangoScript?



On Fri, 2007-08-03 at 09:53 +0200, Xavier Bestel wrote:
> 
> >   1. Do nothing: document that PangoScript and GUnicodeScript are
> > interchangable and add values to both enums as new scripts are
> encoded
> > in Unicode in the future.  The main problem with this approach is
> that
> > as pango_script_for_unichar() will be just a wrapper around
> > g_unichar_get_script(), if you install newer GLib,
> > pango_script_for_unichar() may return values that are not in the
> > PangoScript enum.  That's not good.
> 
> How is that different from the case where you compile for a particular
> version, and you run with a newer one with added scripts ?

Good point.  Fortunately not that different. :)

>         Xav



-- 
behdad
http://behdad.org/

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






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]