diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-04-19 00:37:56 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-04-19 00:37:56 -0400 |
commit | 315d5c91c89fb41eec64d00b42e38eb2117fbfa4 (patch) | |
tree | b6aca0dc0ac03a0b04fe86278df5d54132474ffb /pango/pango-ot-buffer.c | |
parent | 09b3b27fad48e34507cb1319fe1519c8de358c85 (diff) | |
download | pango-315d5c91c89fb41eec64d00b42e38eb2117fbfa4.tar.gz |
Update to HarfBuzz API changes
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r-- | pango/pango-ot-buffer.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c index 2dc4a1ce..186bfd41 100644 --- a/pango/pango-ot-buffer.c +++ b/pango/pango-ot-buffer.c @@ -148,8 +148,7 @@ pango_ot_buffer_add_glyph (PangoOTBuffer *buffer, guint properties, guint cluster) { - hb_buffer_add_glyph (buffer->buffer, - glyph, ~properties, cluster); + hb_buffer_add (buffer->buffer, glyph, ~properties, cluster); } /** @@ -209,7 +208,7 @@ pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer, int *n_glyphs) { if (glyphs) - *glyphs = (PangoOTGlyph *) hb_buffer_get_glyph_infos (buffer->buffer); + *glyphs = (PangoOTGlyph *) hb_buffer_get_glyph_infos (buffer->buffer, NULL); if (n_glyphs) *n_glyphs = hb_buffer_get_length (buffer->buffer); @@ -241,8 +240,8 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer, /* Copy glyphs into output glyph string */ num_glyphs = hb_buffer_get_length (hb_buffer); - hb_glyph = hb_buffer_get_glyph_infos (hb_buffer); - hb_position = hb_buffer_get_glyph_positions (hb_buffer); + hb_glyph = hb_buffer_get_glyph_infos (hb_buffer, NULL); + hb_position = hb_buffer_get_glyph_positions (hb_buffer, NULL); pango_glyph_string_set_size (glyphs, num_glyphs); last_cluster = -1; for (i = 0; i < num_glyphs; i++) |