From: Behdad Esfahbod Date: Fri, 15 Apr 2011 23:01:27 +0000 (-0400) Subject: [HB] Adjust to removal of hb_buffer_clear_positions() X-Git-Tag: 1.31.0~19^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09b3b27fad48e34507cb1319fe1519c8de358c85;p=platform%2Fupstream%2Fpango.git [HB] Adjust to removal of hb_buffer_clear_positions() --- diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index d28bfeb..9b4382f 100644 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@ -407,7 +407,8 @@ _pango_ot_info_position (const PangoOTInfo *info, hb_glyph = hb_buffer_get_glyph_infos (buffer->buffer); hb_position = hb_buffer_get_glyph_positions (buffer->buffer); - hb_buffer_clear_positions (buffer->buffer); + hb_ot_layout_position_start (buffer->buffer); + for (i = 0; i < num_glyphs; i++) { PangoRectangle logical_rect;