diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-04-29 18:58:29 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-04-29 18:58:29 +0000 |
commit | 96b9e23f46410cb0447cd8da631ac20942d41724 (patch) | |
tree | 7e8e269072adafecb7d506ab176c285fac283324 /docs/tmpl/main.sgml | |
parent | 4c11a6652d2305abf0658a00f72c6268b3f5e527 (diff) | |
download | pango-96b9e23f46410cb0447cd8da631ac20942d41724.tar.gz |
Doc updates.
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/atsui-fonts.sgml:
* docs/tmpl/coverage-maps.sgml:
* docs/tmpl/engines.sgml:
* docs/tmpl/fonts.sgml:
* docs/tmpl/freetype-fonts.sgml:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/layout.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/modules.sgml:
* docs/tmpl/opentype.sgml:
* docs/tmpl/pango-engine-lang.sgml:
* docs/tmpl/pango-engine-shape.sgml:
* docs/tmpl/pango-renderer.sgml:
* docs/tmpl/pangocairo.sgml:
* docs/tmpl/pangofc-decoder.sgml:
* docs/tmpl/pangofc-font.sgml:
* docs/tmpl/pangofc-fontmap.sgml:
* docs/tmpl/scripts.sgml:
* docs/tmpl/tab-stops.sgml:
* docs/tmpl/text-attributes.sgml:
* docs/tmpl/utils.sgml:
* docs/tmpl/win32-fonts.sgml:
* docs/tmpl/x-fonts.sgml:
* docs/tmpl/xft-fonts.sgml:
* examples/Makefile.am:
* pango/modules.c:
* pango/pango-coverage.c: Doc updates.
Diffstat (limited to 'docs/tmpl/main.sgml')
-rw-r--r-- | docs/tmpl/main.sgml | 45 |
1 files changed, 31 insertions, 14 deletions
diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml index bd8a17f3..ab47b4df 100644 --- a/docs/tmpl/main.sgml +++ b/docs/tmpl/main.sgml @@ -17,6 +17,9 @@ various steps of this process. </para> +<!-- ##### SECTION Stability_Level ##### --> + + <!-- ##### STRUCT PangoContext ##### --> <para> The #PangoContext structure stores global information @@ -45,10 +48,10 @@ fields: @shape_engine: the engine for doing rendering-system-dependent processing. @lang_engine: the engine for doing rendering-system-independent processing. -@font: +@font: the font for this segment. @level: the bidrectional level for this segment. -@language: -@extra_attrs: +@language: the detected language for this segment. +@extra_attrs: extra attributes for this segment. <!-- ##### ENUM PangoDirection ##### --> <para> @@ -366,17 +369,31 @@ The #PangoLogAttr structure stores information about the attributes of a single character. </para> -@is_line_break: -@is_mandatory_break: -@is_char_break: -@is_white: -@is_cursor_position: -@is_word_start: -@is_word_end: -@is_sentence_boundary: -@is_sentence_start: -@is_sentence_end: -@backspace_deletes_character: If set, backspace deletes one character +@is_line_break: if set, can break line in front of character +@is_mandatory_break: if set, must break line in front of character +@is_char_break: if set, can break here when doing character wrapping +@is_white: is whitespace character +@is_cursor_position: if set, cursor can appear in front of character. + i.e. this is a grapheme boundary, or the first character + in the text. +@is_word_start: is first character in a word +@is_word_end: is first non-word char after a word + Note that in degenerate cases, you could have both @is_word_start + and @is_word_end set for some character. +@is_sentence_boundary: is a sentence boundary. + There are two ways to divide sentences. The first assigns all + intersentence whitespace/control/format chars to some sentence, + so all chars are in some sentence; @is_sentence_boundary denotes + the boundaries there. The second way doesn't assign + between-sentence spaces, etc. to any sentence, so + @is_sentence_start/@is_sentence_end mark the boundaries + of those sentences. +@is_sentence_start: is first character in a sentence +@is_sentence_end: is first char after a sentence. + Note that in degenerate cases, you could have both @is_sentence_start + and @is_sentence_end set for some character. (e.g. no space after a + period, so the next sentence starts right away) +@backspace_deletes_character: if set, backspace deletes one character rather than the entire grapheme cluster. This field is only meaningful on grapheme boundaries (where @is_cursor_position is |