|
|
|
@ -160,7 +160,7 @@ hb_shape_plan_create2 (hb_face_t *face, |
|
|
|
|
assert (props->direction != HB_DIRECTION_INVALID); |
|
|
|
|
|
|
|
|
|
hb_face_make_immutable (face); |
|
|
|
|
shape_plan->default_shaper_list = shaper_list == NULL; |
|
|
|
|
shape_plan->default_shaper_list = !shaper_list; |
|
|
|
|
shape_plan->face_unsafe = face; |
|
|
|
|
shape_plan->props = *props; |
|
|
|
|
shape_plan->num_user_features = num_user_features; |
|
|
|
@ -423,7 +423,7 @@ hb_shape_plan_matches (const hb_shape_plan_t *shape_plan, |
|
|
|
|
return hb_segment_properties_equal (&shape_plan->props, &proposal->props) && |
|
|
|
|
hb_shape_plan_user_features_match (shape_plan, proposal) && |
|
|
|
|
hb_shape_plan_coords_match (shape_plan, proposal) && |
|
|
|
|
((shape_plan->default_shaper_list && proposal->shaper_list == NULL) || |
|
|
|
|
((shape_plan->default_shaper_list && !proposal->shaper_list) || |
|
|
|
|
(shape_plan->shaper_func == proposal->shaper_func)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|