Pango Crashes with the error : Pango:ERROR:/build/buildd/pango1.0-1.24.1/pango/pango-layout.c:3748:pango_layout_check_lines: assertion failed: (!layout->log_attrs)



hi all,
i am creating an entry widget of my own in Xlib using pango and cairo.. i am displaying the text using
pango_layout_set_text(layout, text ,-1); to set the text to the layout which is in the text buffer.. and using pango_cairo_show_layout(cr, layout); to display.
and the problem is ,sometimes my whole program crashes with the error
Pango:ERROR:/build/buildd/pango1.0-1.24.1/pango/pango-layout.c:3748:pango_layout_check_lines: assertion failed: (!layout->log_attrs)
sometimes it crashes when i enter few hundred characters.. and other times it works.. but when the character reaches above 1000, it always crashes around 1400 character.. please help!!!!!
pritesh (valentino)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]