From e9eb9503e97044222f843daacfa47e26e51312b7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 27 Jul 2012 03:16:22 -0400 Subject: [PATCH] Add default_shaper_list to shape_plan --- src/hb-shape-plan-private.hh | 1 + src/hb-shape-plan.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/hb-shape-plan-private.hh b/src/hb-shape-plan-private.hh index 1b3c3b22..d6a57d6c 100644 --- a/src/hb-shape-plan-private.hh +++ b/src/hb-shape-plan-private.hh @@ -39,6 +39,7 @@ struct hb_shape_plan_t hb_object_header_t header; ASSERT_POD (); + hb_bool_t default_shaper_list; hb_face_t *face; hb_segment_properties_t props; diff --git a/src/hb-shape-plan.cc b/src/hb-shape-plan.cc index 83de1f63..663cb348 100644 --- a/src/hb-shape-plan.cc +++ b/src/hb-shape-plan.cc @@ -100,6 +100,7 @@ hb_shape_plan_create (hb_face_t *face, return hb_shape_plan_get_empty (); hb_face_make_immutable (face); + shape_plan->default_shaper_list = shaper_list == NULL; shape_plan->face = hb_face_reference (face); shape_plan->props = *props; @@ -114,6 +115,7 @@ hb_shape_plan_get_empty (void) static const hb_shape_plan_t _hb_shape_plan_nil = { HB_OBJECT_HEADER_STATIC, + TRUE, /* default_shaper_list */ NULL, /* face */ _HB_BUFFER_PROPS_DEFAULT, /* props */ -- GitLab