diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-02-27 14:48:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-02-27 14:48:54 +0000 |
commit | 58a45b6a10cf9ca55b3216e233f6b516c75755de (patch) | |
tree | e6820c29dec5b9b8051a378a47bf4629bbfcdd47 /docs | |
parent | f27610770305444fcab90ce651f48265e41dfee2 (diff) | |
download | pango-58a45b6a10cf9ca55b3216e233f6b516c75755de.tar.gz |
Add some new enum and values and utilities for supporting automatically
Fri Feb 27 09:30:10 2004 Owen Taylor <otaylor@redhat.com>
Add some new enum and values and utilities for supporting
automatically determined base direction. (#70451, based
on changes by Dov Grobgeld)
* pango/pango-types.h docs/tmpl/main.sgml: Add
PANGO_DIRECTION_WEAK_RTL/LTR, extend the docs for
PangoDirection.
* pango/pango-types.h pango/pango-utils.h: Move
pango_get_mirror_char() to pango-types.h.
* pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels):
Handle new values of PangoDirection, handle
PANGO_DIRECTION_TTB_LTR/RTL as aliases for PANGO_DIRECTION_RTL/LTR.
* pango/mini-fribidi/fribidi.c pango/pango-types.h: Add
pango_unichar_direction().
* pango/pango-utils.c pango/pango-types.h: Add
pango_find_base_dir()
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-sections.txt | 6 | ||||
-rw-r--r-- | docs/tmpl/fonts.sgml | 19 | ||||
-rw-r--r-- | docs/tmpl/main.sgml | 46 |
3 files changed, 61 insertions, 10 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index 5fafd4f4..b5bb99d0 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -27,6 +27,10 @@ pango_context_load_font pango_context_load_fontset pango_context_get_metrics pango_context_list_families +<SUBSECTION> +pango_get_mirror_char +pango_unichar_direction +pango_find_base_dir <SUBSECTION Standard> PANGO_TYPE_CONTEXT PangoContextClass @@ -172,6 +176,7 @@ PANGO_TYPE_FONT_FAMILY PANGO_FONT_FAMILY PANGO_IS_FONT_FAMILY pango_font_family_get_name +pango_font_family_is_monospace pango_font_family_list_faces <SUBSECTION> PangoFontFace @@ -179,6 +184,7 @@ PANGO_TYPE_FONT_FACE PANGO_FONT_FACE PANGO_IS_FONT_FACE pango_font_face_get_face_name +pango_font_face_list_sizes pango_font_face_describe <SUBSECTION> PangoFontMap diff --git a/docs/tmpl/fonts.sgml b/docs/tmpl/fonts.sgml index 3d214e4d..5b2ff5ba 100644 --- a/docs/tmpl/fonts.sgml +++ b/docs/tmpl/fonts.sgml @@ -588,6 +588,15 @@ Returns %TRUE if @object is a #PangoFontFamily. @Returns: +<!-- ##### FUNCTION pango_font_family_is_monospace ##### --> +<para> + +</para> + +@family: +@Returns: + + <!-- ##### FUNCTION pango_font_family_list_faces ##### --> <para> @@ -637,6 +646,16 @@ Returns %TRUE if @object is a #PangoFontFace. @Returns: +<!-- ##### FUNCTION pango_font_face_list_sizes ##### --> +<para> + +</para> + +@face: +@sizes: +@n_sizes: + + <!-- ##### FUNCTION pango_font_face_describe ##### --> <para> diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml index bb894008..5901eca7 100644 --- a/docs/tmpl/main.sgml +++ b/docs/tmpl/main.sgml @@ -52,18 +52,15 @@ fields: <!-- ##### ENUM PangoDirection ##### --> <para> -The #PangoDirection type represents the direction of writing -for text. </para> -@PANGO_DIRECTION_LTR: The text is written left-to-right -@PANGO_DIRECTION_RTL: The text is written right-to-left -@PANGO_DIRECTION_TTB_LTR: The text is written vertically - top-to-bottom, with the rows ordered from - left to right. -@PANGO_DIRECTION_TTB_RTL: The text is written vertically - top-to-bottom, with the rows ordered from - right to left. +@PANGO_DIRECTION_LTR: +@PANGO_DIRECTION_RTL: +@PANGO_DIRECTION_TTB_LTR: +@PANGO_DIRECTION_TTB_RTL: +@PANGO_DIRECTION_WEAK_LTR: +@PANGO_DIRECTION_WEAK_RTL: +@PANGO_DIRECTION_NEUTRAL: <!-- ##### MACRO PANGO_TYPE_DIRECTION ##### --> <para> @@ -244,6 +241,35 @@ The GObject type for #PangoDirection. @n_families: +<!-- ##### FUNCTION pango_get_mirror_char ##### --> +<para> + +</para> + +@ch: +@mirrored_ch: +@Returns: + + +<!-- ##### FUNCTION pango_unichar_direction ##### --> +<para> + +</para> + +@ch: +@Returns: + + +<!-- ##### FUNCTION pango_find_base_dir ##### --> +<para> + +</para> + +@text: +@length: +@Returns: + + <!-- ##### FUNCTION pango_break ##### --> <para> |