Add default_shaper_list to shape_plan

This commit is contained in:
Behdad Esfahbod 2012-07-27 03:16:22 -04:00
parent 3b7c4e2706
commit e9eb9503e9
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,7 @@ struct hb_shape_plan_t
hb_object_header_t header; hb_object_header_t header;
ASSERT_POD (); ASSERT_POD ();
hb_bool_t default_shaper_list;
hb_face_t *face; hb_face_t *face;
hb_segment_properties_t props; hb_segment_properties_t props;

View File

@ -100,6 +100,7 @@ hb_shape_plan_create (hb_face_t *face,
return hb_shape_plan_get_empty (); return hb_shape_plan_get_empty ();
hb_face_make_immutable (face); hb_face_make_immutable (face);
shape_plan->default_shaper_list = shaper_list == NULL;
shape_plan->face = hb_face_reference (face); shape_plan->face = hb_face_reference (face);
shape_plan->props = *props; shape_plan->props = *props;
@ -114,6 +115,7 @@ hb_shape_plan_get_empty (void)
static const hb_shape_plan_t _hb_shape_plan_nil = { static const hb_shape_plan_t _hb_shape_plan_nil = {
HB_OBJECT_HEADER_STATIC, HB_OBJECT_HEADER_STATIC,
TRUE, /* default_shaper_list */
NULL, /* face */ NULL, /* face */
_HB_BUFFER_PROPS_DEFAULT, /* props */ _HB_BUFFER_PROPS_DEFAULT, /* props */