[pango/harfbuzz-ng-external] Adjust to hb_buffer_get_len() rename
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango/harfbuzz-ng-external] Adjust to hb_buffer_get_len() rename
- Date: Fri, 6 Nov 2009 21:49:16 +0000 (UTC)
commit 9d6308be1e09c2f4e45c78652077376343d98029
Author: Behdad Esfahbod <behdad behdad org>
Date: Fri Nov 6 15:20:02 2009 -0500
Adjust to hb_buffer_get_len() rename
modules/basic/basic-fc.c | 5 +++--
pango/pango-ot-buffer.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 787a2bc..8072ce3 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -167,8 +167,9 @@ static hb_position_t
pango_fc_hb_font_get_kerning (hb_font_t *font, hb_face_t *face, const void *user_data,
hb_codepoint_t first_glyph, hb_codepoint_t second_glyph)
{
- PangoFcFont *fc_font = (PangoFcFont *) user_data;
#if 0
+ PangoFcFont *fc_font = (PangoFcFont *) user_data;
+
FT_Face ft_face = (FT_Face) user_data;
FT_Vector kerning;
@@ -255,7 +256,7 @@ basic_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED,
hb_shape (hb_font, hb_face, hb_buffer, NULL, 0);
/* buffer output */
- num_glyphs = hb_buffer_get_len (hb_buffer);
+ 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);
pango_glyph_string_set_size (glyphs, num_glyphs);
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index b847e09..cf88c19 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -211,7 +211,7 @@ pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer,
*glyphs = (PangoOTGlyph *) hb_buffer_get_glyph_infos (buffer->buffer);
if (n_glyphs)
- *n_glyphs = hb_buffer_get_len (buffer->buffer);
+ *n_glyphs = hb_buffer_get_length (buffer->buffer);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]