After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 118786 - pango_layout_iterator_next_char assertion
pango_layout_iterator_next_char assertion
Status: RESOLVED DUPLICATE of bug 89541
Product: pango
Classification: Platform
Component: general
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2003-07-31 17:20 UTC by Jeff Freedman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeff Freedman 2003-07-31 17:20:20 UTC
Using a ltr context, I've created a layout with 3 rtl characters (hebrew 
from the 'ezra sil' font), so there are 6 bytes total.  I then ask for an 
iterator, and call pango_layout_iterator_next_char() on it, but the 
assertion in this function fails on the first call. 
 
Tracing through with gdb, I see that the iterator's ltr field is set to 
0, which is correct, but its index is also set to 0.  I think this is 
wrong, since the first glyph displayed is the 3rd in the text stream, so 
that the index ought to start out as 6.
Comment 1 Owen Taylor 2003-07-31 18:23:12 UTC

*** This bug has been marked as a duplicate of 89541 ***