summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-layout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 4c6eca0a..570cd57b 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3445,6 +3445,10 @@ get_items_log_attrs (const char *text,
tmp_item.length += para_delimiter_len;
}
+ /* XXX This is wrong. we should call pango_default_break on the entire
+ * layout text and then tailor_break on each lang_engine change, like
+ * pango_get_log_attrs does.
+ */
pango_break (text + index, tmp_item.length, &tmp_item.analysis,
log_attrs + offset, tmp_item.num_chars + 1);