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 /.cvsignore | |
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 '.cvsignore')
0 files changed, 0 insertions, 0 deletions