pango r2290 - in trunk: . docs docs/tmpl pango



Author: behdad
Date: 2007-05-14 08:09:45 +0100 (Mon, 14 May 2007)
New Revision: 2290
ViewCVS link: http://svn.gnome.org/viewcvs/pango?rev=2290&view=rev

Modified:
   trunk/ChangeLog
   trunk/docs/pango-sections.txt
   trunk/docs/tmpl/glyphs.sgml
   trunk/docs/tmpl/opentype.sgml
   trunk/pango/pango-ot-ruleset.c
   trunk/pango/pango-ot.h
   trunk/pango/pangoxft.h
Log:
2007-05-14  Behdad Esfahbod  <behdad gnome org>

        Part of Bug 325714 â Pango should respect $LANGUAGE

        * pango/pango-ot.h:
        * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for),
        (pango_ot_ruleset_description_hash),
        (pango_ot_ruleset_description_equal),
        (pango_ot_ruleset_description_copy),
        (pango_ot_ruleset_description_free):
        Add new engine API:

                PangoOTRulesetDescription
                pango_ot_ruleset_get_for()
                pango_ot_ruleset_description_hash()
                pango_ot_ruleset_description_equal()
                pango_ot_ruleset_description_copy()
                pango_ot_ruleset_description_free()

        The main addition is pango_ot_ruleset_get_for() that
        takes a ruleset description, ie. script/language and list
        of GSUB/GPOS features to apply, and returns a ruleset.
        It manages all the work to cache rulesets, so modules
        don't have to do that anymore.  Given that modules do not
        deal with just one ruleset anymore (because we want to
        respect language, and allow user-selected features), this
        makes their life way easier.

        * docs/pango-sections.txt:
        * docs/tmpl/opentype.sgml:
        Update.






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