diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-11-06 17:46:59 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-11-06 17:46:59 -0500 |
commit | 5283c5b248f7746f3ea2d0238ed10a6da0fbe6f3 (patch) | |
tree | dc87aaa57fe26e07844b0e75c543cc0fe8e731ba /pango/pango-ot-info.c | |
parent | 7455ff248507bfe3b26b5739de7a3ee54c50698d (diff) | |
download | pango-5283c5b248f7746f3ea2d0238ed10a6da0fbe6f3.tar.gz |
[OT] Adapt to HB API change
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r-- | pango/pango-ot-info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index eeb39443..86a5ef0b 100644 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@ -121,7 +121,7 @@ pango_ot_info_get (FT_Face face) info->hb_face = hb_ft_face_create (face, NULL); /* XXX this is such a waste if not SFNT */ - if (!hb_ot_layout_has_font_glyph_classes (info->hb_face)) + if (!hb_ot_layout_has_glyph_classes (info->hb_face)) synthesize_class_def (info); } @@ -589,7 +589,7 @@ _pango_ot_info_position (const PangoOTInfo *info, lookup_indexes); for (j = 0; j < lookup_count; j++) - hb_ot_layout_position_lookup (info->hb_face, hb_font, + hb_ot_layout_position_lookup (hb_font, info->hb_face, buffer->buffer, lookup_indexes[j], rule->property_bit); @@ -598,7 +598,7 @@ _pango_ot_info_position (const PangoOTInfo *info, } if (buffer->applied_gpos) - hb_ot_layout_position_finish (info->hb_face, hb_font, buffer->buffer); + hb_ot_layout_position_finish (hb_font, info->hb_face, buffer->buffer); hb_font_destroy (hb_font); } |