[pango/harfbuzz-ng-external] [OT] Adapt to HB API change



commit 5283c5b248f7746f3ea2d0238ed10a6da0fbe6f3
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Nov 6 17:46:59 2009 -0500

    [OT] Adapt to HB API change

 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 eeb3944..86a5ef0 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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]