From 08cf5d75ef0c75095173dec822ccb07defaaa6c2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 22 Jan 2014 07:53:55 -0500 Subject: [PATCH] [ot] Don't try to compose if normalization is off --- src/hb-ot-shape-normalize.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-normalize.cc b/src/hb-ot-shape-normalize.cc index 94fc4a98..2a6a4390 100644 --- a/src/hb-ot-shape-normalize.cc +++ b/src/hb-ot-shape-normalize.cc @@ -355,7 +355,8 @@ _hb_ot_shape_normalize (const hb_ot_shape_plan_t *plan, } - if (mode == HB_OT_SHAPE_NORMALIZATION_MODE_DECOMPOSED) + if (mode == HB_OT_SHAPE_NORMALIZATION_MODE_NONE || + mode == HB_OT_SHAPE_NORMALIZATION_MODE_DECOMPOSED) return; /* Third round, recompose */ -- GitLab