[thai] Respect cluster-level > 0
This commit is contained in:
parent
5b31fe383e
commit
bdc8215949
|
@ -353,7 +353,7 @@ preprocess_text_thai (const hb_ot_shape_plan_t *plan,
|
||||||
{
|
{
|
||||||
/* Since we decomposed, and NIKHAHIT is combining, merge clusters with the
|
/* Since we decomposed, and NIKHAHIT is combining, merge clusters with the
|
||||||
* previous cluster. */
|
* previous cluster. */
|
||||||
if (start)
|
if (start && buffer->cluster_level == HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES)
|
||||||
buffer->merge_out_clusters (start - 1, end);
|
buffer->merge_out_clusters (start - 1, end);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue