From: Behdad Esfahbod Date: Thu, 21 Jul 2011 05:11:09 +0000 (-0400) Subject: Form clusters before ensuring native direciton X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54d1a0d2b2c4ffe15494967122c6422ecb1fc80b;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Form clusters before ensuring native direciton This is essential as ensure_native_direction uses cluster info that is set by form_clusters(). --- diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 33123d4..b9754ce 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -361,10 +361,10 @@ hb_ot_shape_execute_internal (hb_ot_shape_context_t *c) hb_set_unicode_props (c); /* BUFFER: Set general_category and combining_class in var1 */ - hb_ensure_native_direction (c); - hb_form_clusters (c); + hb_ensure_native_direction (c); + _hb_normalize (c); hb_ot_shape_setup_masks (c); /* BUFFER: Clobbers var2 */