diff options
-rw-r--r-- | pango/pango-layout.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 8caea4d0..bf7a97e7 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3540,10 +3540,11 @@ shape_run (PangoLayoutLine *line, state->properties.shape_ink_rect, state->properties.shape_logical_rect, glyphs); else - pango_shape_with_flags (layout->text + item->offset, item->length, - layout->text, layout->length, - &item->analysis, glyphs, - shape_flags); + pango_shape_item (item, + layout->text, layout->length, + layout->log_attrs + state->start_offset, + glyphs, + shape_flags); if (state->properties.letter_spacing) { |