summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-04-15 19:01:27 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-04-15 19:01:27 -0400
commit09b3b27fad48e34507cb1319fe1519c8de358c85 (patch)
tree890728d5963a841954b8b3dd3fa34c2fc71f10ae /pango/pango-ot-info.c
parenta4edc4452eed8298ac48649f0cfec2db7c8a3b84 (diff)
downloadpango-09b3b27fad48e34507cb1319fe1519c8de358c85.tar.gz
[HB] Adjust to removal of hb_buffer_clear_positions()
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index d28bfebb..9b4382fe 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;