equal
deleted
inserted
replaced
71 hb_ot_map_builder_t map; |
71 hb_ot_map_builder_t map; |
72 |
72 |
73 hb_ot_shape_planner_t (const hb_shape_plan_t *master_plan) : |
73 hb_ot_shape_planner_t (const hb_shape_plan_t *master_plan) : |
74 face (master_plan->face_unsafe), |
74 face (master_plan->face_unsafe), |
75 props (master_plan->props), |
75 props (master_plan->props), |
76 shaper (NULL), |
76 shaper (nullptr), |
77 map (face, &props) {} |
77 map (face, &props) {} |
78 ~hb_ot_shape_planner_t (void) { map.finish (); } |
78 ~hb_ot_shape_planner_t (void) { map.finish (); } |
79 |
79 |
80 inline void compile (hb_ot_shape_plan_t &plan, |
80 inline void compile (hb_ot_shape_plan_t &plan, |
81 const int *coords, |
81 const int *coords, |
97 plan.has_kern = !!plan.kern_mask; |
97 plan.has_kern = !!plan.kern_mask; |
98 plan.has_mark = !!plan.map.get_1_mask (HB_TAG ('m','a','r','k')); |
98 plan.has_mark = !!plan.map.get_1_mask (HB_TAG ('m','a','r','k')); |
99 } |
99 } |
100 |
100 |
101 private: |
101 private: |
102 NO_COPY (hb_ot_shape_planner_t); |
102 /* No copy. */ |
|
103 hb_ot_shape_planner_t (const hb_ot_shape_planner_t &); |
|
104 hb_ot_shape_planner_t &operator = (const hb_ot_shape_planner_t &); |
103 }; |
105 }; |
104 |
106 |
105 |
107 |
106 #endif /* HB_OT_SHAPE_PRIVATE_HH */ |
108 #endif /* HB_OT_SHAPE_PRIVATE_HH */ |