mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[unsafe-to-break] Mark unsafe is cluster merging is disabled
We were relying on cluster merges not requiring unsafe flagging because they get merged. If cluster level requests no merging, then we flag unsafe when merge would have happened.
This commit is contained in:
parent
39a9749430
commit
ec104e5912
1 changed files with 3 additions and 0 deletions
|
@ -550,7 +550,10 @@ hb_buffer_t::merge_clusters_impl (unsigned int start,
|
|||
unsigned int end)
|
||||
{
|
||||
if (cluster_level == HB_BUFFER_CLUSTER_LEVEL_CHARACTERS)
|
||||
{
|
||||
unsafe_to_break (start, end);
|
||||
return;
|
||||
}
|
||||
|
||||
unsigned int cluster = info[start].cluster;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue