[pango/harfbuzz-ng-external: 27/28] [HB] Adjust to removal of hb_buffer_clear_positions()



commit 09b3b27fad48e34507cb1319fe1519c8de358c85
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Apr 15 19:01:27 2011 -0400

    [HB] Adjust to removal of hb_buffer_clear_positions()

 pango/pango-ot-info.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
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;



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