From 5814dfa3f5aa41bc3df06b78980d57d7bea0ba58 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 15 Apr 2011 14:41:04 -0400 Subject: [PATCH] Cosmetic --- src/hb-ot-shape.cc | 14 +++++++------- src/hb-ot-shape.h | 4 ++-- src/hb-shape.cc | 20 ++++++++++---------- src/hb-shape.h | 10 +++++----- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 4950e002..76d4a56e 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -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); } diff --git a/src/hb-ot-shape.h b/src/hb-ot-shape.h index c90e0fea..45d8104c 100644 --- a/src/hb-ot-shape.h +++ b/src/hb-ot-shape.h @@ -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 diff --git a/src/hb-shape.cc b/src/hb-shape.cc index 0a6f1dc5..9e2ea4ec 100644 --- a/src/hb-shape.cc +++ b/src/hb-shape.cc @@ -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; diff --git a/src/hb-shape.h b/src/hb-shape.h index 48f1a557..6bc32576 100644 --- a/src/hb-shape.h +++ b/src/hb-shape.h @@ -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 -- GitLab