summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-11-06 15:20:02 -0500
committerBehdad Esfahbod <behdad@behdad.org>2009-11-06 15:20:02 -0500
commit9d6308be1e09c2f4e45c78652077376343d98029 (patch)
tree3365ba147a3294c82f853db9e89d1e9215d97091 /modules
parentbc3d03ff4c8a540e784584caba766134df573f98 (diff)
downloadpango-9d6308be1e09c2f4e45c78652077376343d98029.tar.gz
Adjust to hb_buffer_get_len() rename
Diffstat (limited to 'modules')
-rw-r--r--modules/basic/basic-fc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 787a2bc4..8072ce3c 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);