Re: How to deprecate PangoScript?
Xavier Bestel <[email protected]> Fri, 03 Aug 2007 09:53:17 +0200
| Newsgroups | gmane.comp.gnome.language-bindings,gmane.comp.gnome.gtk+.devel.general,gmane.comp.gnome.gtk+.internationalization |
|---|---|
| Message-ID | <1186127597.13723.44.camel@frg-rhel40-em64t-04> |
On Thu, 2007-08-02 at 15:48 -0400, Behdad Esfahbod wrote: > I want to release Pango 1.18 early next week. The only pending item > is > how to deprecate PangoScript in favor of the newly added > GUnicodeScript? > I'm particularly interested to hear what not to do from binding > people. > > Possibilities I see: > > 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 ? Xav _______________________________________________ language-bindings mailing list [email protected] http://mail.gnome.org/mailman/listinfo/language-bindings