From d63adfc7d09b26764d9166da97372b21257e7611 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 21 Jul 2011 11:48:57 -0400 Subject: [PATCH] No need to handle variation-selectors seperately, they are GC=Mn --- src/hb-ot-shape.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index d868f37f9..bffd07502 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -197,8 +197,7 @@ hb_form_clusters (hb_buffer_t *buffer) if (FLAG (buffer->info[i].general_category()) & (FLAG (HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK) | FLAG (HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK) | - FLAG (HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK)) || - is_variation_selector (buffer->info[buffer->i].codepoint)) + FLAG (HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK))) buffer->info[i].cluster = buffer->info[i - 1].cluster; }