No need to handle variation-selectors seperately, they are GC=Mn
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 21 Jul 2011 15:48:57 +0000 (11:48 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 21 Jul 2011 15:48:57 +0000 (11:48 -0400)
src/hb-ot-shape.cc

index d868f37..bffd075 100644 (file)
@@ -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;
 }