mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
No need to handle variation-selectors seperately, they are GC=Mn
This commit is contained in:
1 parent
aa7264123a
commit
d63adfc7d0
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user