This commit is contained in:
Behdad Esfahbod 2011-04-15 14:41:04 -04:00
parent cfbfeb88a6
commit 5814dfa3f5
4 changed files with 24 additions and 24 deletions

View 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);
}

View 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

View 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;

View 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