Description of problem:
I don't know
Version-Release number of selected component:
runlevel: N 5
Thread no. 1 (6 frames)
#0 pango_layout_iter_get_char_extents at pango-layout.c:6098
#1 gimp_text_tool_draw_selection at gimptexttool.c:857
#2 gimp_text_tool_draw at gimptexttool.c:783
#3 gimp_draw_tool_draw at gimpdrawtool.c:217
#4 gimp_text_tool_apply at gimptexttool.c:1339
#9 app_run at app.c:263
Created attachment 831185 [details]
Created attachment 831186 [details]
Created attachment 831187 [details]
Created attachment 831189 [details]
Created attachment 831191 [details]
Created attachment 831193 [details]
Created attachment 831195 [details]
Created attachment 831197 [details]
Created attachment 831200 [details]
Created attachment 831202 [details]
Looks like a division by zero here:
--- 8< --- pango/pango-layout.c:6098 -- pango_layout_iter_get_char_extents() ---
x0 = (iter->character_position * cluster_rect.width) / iter->cluster_num_chars;
--- >8 ---
The cluster_num_chars member is opaque to outside API users, so IMO has to be set by pango itself:
--- 8< --- app/tools/gimptexttool.c:841 -- gimp_text_tool_draw_selection() ---
iter = pango_layout_get_iter (layout);
gimp_draw_tool_push_group (draw_tool, fill_group);
if (! pango_layout_iter_get_run (iter))
i = pango_layout_iter_get_index (iter);
if (i >= min && i < max)
gint ytop, ybottom;
pango_layout_iter_get_char_extents (iter, &rect);
pango_layout_iter_get_line_yrange (iter, &ytop, &ybottom);
rect.y = ytop;
rect.height = ybottom - ytop;
pango_extents_to_pixels (&rect, NULL);
gimp_text_layout_transform_rect (text_tool->layout, &rect);
rect.x += offset_x;
rect.y += offset_y;
gimp_draw_tool_add_rectangle (draw_tool, TRUE,
while (pango_layout_iter_next_char (iter));
--- >8 ---
Changing component to pango.
Please let me know how to reproduce this issue.
pango-1.36.1-2.fc20 has been submitted as an update for Fedora 20.
pango-1.34.1-2.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pango-1.36.1-2.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
pango-1.36.1-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
pango-1.34.1-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.