Form clusters before ensuring native direciton

This is essential as ensure_native_direction uses cluster info that
is set by form_clusters().
This commit is contained in:
Behdad Esfahbod 2011-07-21 01:11:09 -04:00
parent 9111b21ef9
commit 54d1a0d2b2
1 changed files with 2 additions and 2 deletions

View File

@ -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_set_unicode_props (c); /* BUFFER: Set general_category and combining_class in var1 */
hb_ensure_native_direction (c);
hb_form_clusters (c); hb_form_clusters (c);
hb_ensure_native_direction (c);
_hb_normalize (c); _hb_normalize (c);
hb_ot_shape_setup_masks (c); /* BUFFER: Clobbers var2 */ hb_ot_shape_setup_masks (c); /* BUFFER: Clobbers var2 */