[coretext] Limit grapheme-cluster forming to cluster-level=0
This commit is contained in:
parent
061105ec44
commit
62c2711121
|
@ -491,6 +491,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
|
|||
* B1 M1 B2 M2, and B1-B2 form a ligature, M2's cluster will
|
||||
* continue pointing to B2 even though B2 was merged into B1's
|
||||
* cluster... */
|
||||
if (buffer->cluster_level == HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES)
|
||||
{
|
||||
hb_unicode_funcs_t *unicode = buffer->unicode;
|
||||
unsigned int count = buffer->len;
|
||||
|
|
|
@ -267,7 +267,7 @@ hb_form_clusters (hb_buffer_t *buffer)
|
|||
buffer->cluster_level != HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES)
|
||||
return;
|
||||
|
||||
/* Loop duplicated in hb_ensure_native_direction(). */
|
||||
/* Loop duplicated in hb_ensure_native_direction(), and in _hb-coretext.cc */
|
||||
unsigned int base = 0;
|
||||
unsigned int count = buffer->len;
|
||||
hb_glyph_info_t *info = buffer->info;
|
||||
|
|
Loading…
Reference in New Issue