diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-09-18 19:57:16 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-09-18 19:57:16 +0000 |
commit | a3e5dbf6e73e9edea2b3f5bbcfd54d792b78f976 (patch) | |
tree | 1e45c8ab96c058e179537f12511e2b2c6ab44c59 /pango/pango-layout.c | |
parent | dc1a29694287012dd5ec8795d8d5e987c26e6181 (diff) | |
download | pango-a3e5dbf6e73e9edea2b3f5bbcfd54d792b78f976.tar.gz |
Bug 356194 – more pango_get_log_attrs problems
2006-09-18 Behdad Esfahbod <behdad@gnome.org>
Bug 356194 – more pango_get_log_attrs problems
* pango/break.c (tailor_break): New function. Simply calls the
script_break() function of the language engine, if any.
* pango/break.c (pango_break): Call pango_default_break()
unconditionally. Call tailor_break() on top of the result to tailor
it using the language engines, if any.
* pango/break.c (tailor_segment): Call tailor_break() on the segment,
and make sure the log_attrs for the first position are not corrupted.
* pango/break.c (pango_get_log_attrs): Call pango_default_break() on
the entire paragraph, and call tailor_segment on each segment.
* pango/pango-engine.h: Update docs about *script_break()'s behavior.
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 7b17c73d..2fdc95c5 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -2858,7 +2858,7 @@ process_item (PangoLayout *layout, int i; gboolean processing_new_item = FALSE; - /* Only one character has type G_UNICODE_LINE_SEPARATOR in Unicode 4.0; + /* Only one character has type G_UNICODE_LINE_SEPARATOR in Unicode 5.0; * update this if that changes. */ #define LINE_SEPARATOR 0x2028 |