diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-06-21 22:37:59 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-06-21 22:37:59 +0000 |
commit | 4ce097d475ac26a1b872baaaae925f0a71b4563d (patch) | |
tree | e51739791aea42bd5fc9f51cf8910b9598e43f0a /ChangeLog.pre-1-10 | |
parent | b4989509d6a353a2efe4ce2af41cf0f6b0308b37 (diff) | |
download | pango-4ce097d475ac26a1b872baaaae925f0a71b4563d.tar.gz |
Fix up the operation of PangoLayoutIter, especially for Bidi (#89541,
2005-06-21 Owen Taylor <otaylor@redhat.com>
Fix up the operation of PangoLayoutIter, especially for Bidi
(#89541, based on a patch from Amit Aronovitch)
* pango/pango-layout.c: Many changes to make iteration
consistently in visual order.
* pango/pango-layout.c (pango_layout_iter_next_char): Iterate
through each character in the layout exactly once. (Including
a hack to get two iterator positions for \r\n)
* pango/pango-layout.c (pango_layout_iter_next_cluster): Only
iterate through real clusters: that is, positions in the
layout that have glyphs.
* tests/testiter.c tests/Makefile.am: Add a (somewhat reworked)
test from Amit for the operation of PangoLayoutIter.
Diffstat (limited to 'ChangeLog.pre-1-10')
-rw-r--r-- | ChangeLog.pre-1-10 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 5589af02..f3650d57 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,5 +1,24 @@ 2005-06-21 Owen Taylor <otaylor@redhat.com> - + + Fix up the operation of PangoLayoutIter, especially for Bidi + (#89541, based on a patch from Amit Aronovitch) + + * pango/pango-layout.c: Many changes to make iteration + consistently in visual order. + + * pango/pango-layout.c (pango_layout_iter_next_char): Iterate + through each character in the layout exactly once. (Including + a hack to get two iterator positions for \r\n) + + * pango/pango-layout.c (pango_layout_iter_next_cluster): Only + iterate through real clusters: that is, positions in the + layout that have glyphs. + + * tests/testiter.c tests/Makefile.am: Add a (somewhat reworked) + test from Amit for the operation of PangoLayoutIter. + +2005-06-21 Owen Taylor <otaylor@redhat.com> + * pango/pangoxft-render.c (get_renderer): Go back to honoring alpha in the XftColor passed in; it was a 1.6 => 1.8 regression. (#169622, based on a patch from Mikael Magnusson) |