Cosmetic
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 15 Apr 2011 18:41:04 +0000 (14:41 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 15 Apr 2011 18:41:04 +0000 (14:41 -0400)
src/hb-ot-shape.cc
src/hb-ot-shape.h
src/hb-shape.cc
src/hb-shape.h

index 4950e00..76d4a56 100644 (file)
@@ -366,16 +366,16 @@ hb_ot_shape_execute (hb_ot_shape_plan_t *plan,
 }
 
 void
-hb_ot_shape (hb_font_t    *font,
-            hb_face_t    *face,
-            hb_buffer_t  *buffer,
-            const hb_feature_t *user_features,
-            unsigned int        num_user_features)
+hb_ot_shape (hb_font_t          *font,
+            hb_face_t          *face,
+            hb_buffer_t        *buffer,
+            const hb_feature_t *features,
+            unsigned int        num_features)
 {
   hb_ot_shape_plan_t plan;
 
-  hb_ot_shape_plan_internal (&plan, face, &buffer->props, user_features, num_user_features);
-  hb_ot_shape_execute (&plan, font, face, buffer, user_features, num_user_features);
+  hb_ot_shape_plan_internal (&plan, face, &buffer->props, features, num_features);
+  hb_ot_shape_execute (&plan, font, face, buffer, features, num_features);
 }
 
 
index c90e0fe..45d8104 100644 (file)
@@ -37,8 +37,8 @@ void
 hb_ot_shape (hb_font_t          *font,
             hb_face_t          *face,
             hb_buffer_t        *buffer,
-            const hb_feature_t *user_features,
-            unsigned int        num_user_features);
+            const hb_feature_t *features,
+            unsigned int        num_features);
 
 
 HB_END_DECLS
index 0a6f1dc..9e2ea4e 100644 (file)
@@ -40,11 +40,11 @@ HB_BEGIN_DECLS
 
 
 static void
-hb_shape_internal (hb_font_t    *font,
-                  hb_face_t    *face,
-                  hb_buffer_t  *buffer,
-                  hb_feature_t *features,
-                  unsigned int  num_features)
+hb_shape_internal (hb_font_t          *font,
+                  hb_face_t          *face,
+                  hb_buffer_t        *buffer,
+                  const hb_feature_t *features,
+                  unsigned int        num_features)
 {
 #if 0 && defined(HAVE_GRAPHITE)
   hb_blob_t *silf_blob;
@@ -62,11 +62,11 @@ hb_shape_internal (hb_font_t    *font,
 }
 
 void
-hb_shape (hb_font_t    *font,
-         hb_face_t    *face,
-         hb_buffer_t  *buffer,
-         hb_feature_t *features,
-         unsigned int  num_features)
+hb_shape (hb_font_t          *font,
+         hb_face_t          *face,
+         hb_buffer_t        *buffer,
+         const hb_feature_t *features,
+         unsigned int        num_features)
 {
   hb_segment_properties_t orig_props;
 
index 48f1a55..6bc3257 100644 (file)
@@ -42,11 +42,11 @@ typedef struct _hb_feature_t {
 } hb_feature_t;
 
 void
-hb_shape (hb_font_t    *font,
-         hb_face_t    *face,
-         hb_buffer_t  *buffer,
-         hb_feature_t *features,
-         unsigned int  num_features);
+hb_shape (hb_font_t          *font,
+         hb_face_t          *face,
+         hb_buffer_t        *buffer,
+         const hb_feature_t *features,
+         unsigned int        num_features);
 
 
 HB_END_DECLS