GNOME Bugzilla – Bug 88824
program terminating on Unicode U+2029
Last modified: 2009-08-21 03:23:59 UTC
When I use unicode U+2029 in gtk_label, the whole program abort execution. I used g_unichar_to_utf8() to convert raw unicode to utf8 encoding. Error messages are: ** ERROR **: file pango-layout.c: line 2901 (pango_layout_check_lines): assertion failed: (delim_len < 3) aborting...
The problem is that PS (U+2029) is 3 bytes, so the assertion is just wrong.
Created attachment 10040 [details] Test case
Wed Jul 24 23:07:43 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c: Fix wrong assertion that was dying on lines separated by PS (U+2029). (#88824, Choe Hwangjin)
This bug was marked RESOLVED without a resolution, which Bugzilla does not allow (and so I am fixing it). It is assumed that the bug was intended to be marked as FIXED. If the bug should have some other resolution, please change its resolution.