pango r2284 - in trunk: docs docs/tmpl pango



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

Modified:
   trunk/docs/pango-docs.sgml
   trunk/docs/pango-sections.txt
   trunk/docs/tmpl/atsui-fonts.sgml
   trunk/docs/tmpl/opentype.sgml
   trunk/docs/tmpl/pangocairo.sgml
   trunk/pango/pango-ot-info.c
   trunk/pango/pango-ot-private.h
   trunk/pango/pango-ot-ruleset.c
   trunk/pango/pango-ot-tag.c
   trunk/pango/pango-ot.h
Log:
2007-05-13  Behdad Esfahbod  <behdad gnome org>

        Part of Bug 325714 â Pango should respect $LANGUAGE

        * pango/pango-ot.h:
        * pango/pango-ot-private.h:
        * pango/pango-ot-tag.c (pango_ot_tag_from_script),
        (pango_ot_tag_from_language):
        * pango/pango-ot-info.c (pango_ot_info_find_script),
        (pango_ot_info_find_language), (pango_ot_info_find_feature),
        (pango_ot_info_list_languages), (pango_ot_info_list_features):
        * pango/pango-ot-ruleset.c (pango_ot_ruleset_new),
        (pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature),
        (pango_ot_ruleset_maybe_add_feature),
        (pango_ot_ruleset_maybe_add_features):
        Add new engine API:

                PANGO_OT_NO_FEATURE
                PANGO_OT_NO_SCRIPT
                PANGO_OT_TAG_DEFAULT_SCRIPT
                PANGO_OT_TAG_DEFAULT_LANGUAGE
                pango_ot_ruleset_new_for()
                pango_ot_ruleset_maybe_add_feature()
                pango_ot_ruleset_maybe_add_features()

        Using pango_ot_ruleset_new_for() and
        pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset
        building in modules, and does correct script and language selection
        too.  Modules need to be updated to use it though.

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






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