diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-05-10 21:26:21 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-05-10 21:26:21 +0000 |
commit | dd0245c7629630c52a33f301ce5ba687ec353cff (patch) | |
tree | fefc5c8f24a7ad1fd4db35a1e33fe4fcce78a276 /docs | |
parent | f20dc94b7ed3bcf37f5bfc8bc5d8bf8596954a60 (diff) | |
download | pango-dd0245c7629630c52a33f301ce5ba687ec353cff.tar.gz |
New public API:
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pango-ot.h:
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_to_script), (lang_compare_first_component),
(pango_ot_tag_from_language), (pango_ot_tag_to_language):
New public API:
PANGO_OT_DEFAULT_SCRIPT
pango_ot_tag_from_script()
pango_ot_tag_to_script()
pango_ot_tag_from_language()
pango_ot_tag_to_language()
* tests/Makefile.am:
* tests/test-ot-tags.c:
Test case for new functions.
* pango/pangoft2.def:
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/main.sgml:
* docs/tmpl/opentype.sgml:
Updated.
svn path=/trunk/; revision=2274
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-docs.sgml | 3 | ||||
-rw-r--r-- | docs/pango-sections.txt | 5 | ||||
-rw-r--r-- | docs/tmpl/main.sgml | 3 | ||||
-rw-r--r-- | docs/tmpl/opentype.sgml | 46 |
4 files changed, 55 insertions, 2 deletions
diff --git a/docs/pango-docs.sgml b/docs/pango-docs.sgml index c38cf8f7..b8670dec 100644 --- a/docs/pango-docs.sgml +++ b/docs/pango-docs.sgml @@ -116,4 +116,7 @@ <index role="1.16"> <title>Index of new symbols in 1.16</title> </index> + <index role="1.18"> + <title>Index of new symbols in 1.18</title> + </index> </book> diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index 6c9e6426..e7348d31 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -943,6 +943,7 @@ PangoOTRuleset PangoOTTableType PANGO_OT_ALL_GLYPHS PANGO_OT_DEFAULT_LANGUAGE +PANGO_OT_DEFAULT_SCRIPT pango_ot_info_get pango_ot_info_find_script pango_ot_info_find_language @@ -962,6 +963,10 @@ pango_ot_ruleset_new pango_ot_ruleset_add_feature pango_ot_ruleset_substitute pango_ot_ruleset_position +pango_ot_tag_from_language +pango_ot_tag_from_script +pango_ot_tag_to_language +pango_ot_tag_to_script </SECTION> <SECTION> diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml index 9a3a9f39..dc3ed934 100644 --- a/docs/tmpl/main.sgml +++ b/docs/tmpl/main.sgml @@ -50,8 +50,9 @@ fields: @lang_engine: the engine for doing rendering-system-independent processing. @font: the font for this segment. @level: the bidirectional level for this segment. -@gravity: the glyph orientation for this segment. +@gravity: the glyph orientation for this segment (A #PangoGravity). @flags: boolean flags for this segment (currently only one) (Since: 1.16). +@script: the detected script for this segment (A #PangoScript) (Since: 1.18). @language: the detected language for this segment. @extra_attrs: extra attributes for this segment. diff --git a/docs/tmpl/opentype.sgml b/docs/tmpl/opentype.sgml index f1a304fe..1bc78474 100644 --- a/docs/tmpl/opentype.sgml +++ b/docs/tmpl/opentype.sgml @@ -96,12 +96,20 @@ feature should be applied to all glyphs. <!-- ##### MACRO PANGO_OT_DEFAULT_LANGUAGE ##### --> <para> -This is used as the language index in pango_ot_info_find_feature() when a +This is used as the language index in pango_ot_info_find_feature() when the default language system of the script is desired. </para> +<!-- ##### MACRO PANGO_OT_DEFAULT_SCRIPT ##### --> +<para> +Expands to the #PangoOTTag corresponding to the special OpenType +script tag 'DFLT'. +</para> + + + <!-- ##### FUNCTION pango_ot_info_get ##### --> <para> @@ -297,3 +305,39 @@ the default language system of the script is desired. @buffer: +<!-- ##### FUNCTION pango_ot_tag_from_language ##### --> +<para> + +</para> + +@language: +@Returns: + + +<!-- ##### FUNCTION pango_ot_tag_from_script ##### --> +<para> + +</para> + +@script: +@Returns: + + +<!-- ##### FUNCTION pango_ot_tag_to_language ##### --> +<para> + +</para> + +@language_tag: +@Returns: + + +<!-- ##### FUNCTION pango_ot_tag_to_script ##### --> +<para> + +</para> + +@script_tag: +@Returns: + + |