提交 5814dfa3 编写于 作者: B Behdad Esfahbod

Cosmetic

上级 cfbfeb88
......@@ -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);
}
......
......@@ -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
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册