[ot] Simplify normalization_preference again No shaper has more than one behavior re this, so no need for a callback.
diff --git a/src/hb-ot-shape-complex-default.cc b/src/hb-ot-shape-complex-default.cc index 519790c..dfb28d8 100644 --- a/src/hb-ot-shape-complex-default.cc +++ b/src/hb-ot-shape-complex-default.cc
@@ -58,12 +58,6 @@ plan->map.add_global_bool_feature (*script_features); } -static hb_ot_shape_normalization_mode_t -normalization_preference_default (const hb_segment_properties_t *props) -{ - return HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS; -} - static bool compose_default (const hb_ot_shape_normalize_context_t *c, hb_codepoint_t a, @@ -198,7 +192,7 @@ NULL, /* data_create */ NULL, /* data_destroy */ NULL, /* preprocess_text */ - normalization_preference_default, + HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT, NULL, /* decompose */ compose_default, NULL, /* setup_masks */