No need to handle variation-selectors seperately, they are GC=Mn

This commit is contained in:
Behdad Esfahbod 2011-07-21 11:48:57 -04:00
parent aa7264123a
commit d63adfc7d0
1 changed files with 1 additions and 2 deletions

View 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;
}