mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
[kerx] Merge clusters in Ligature
This commit is contained in:
1 parent
bb35725cd7
commit
55d5ea666c
1 file changed
+6
-1
@@ -391,6 +391,12 @@ struct LigatureSubtable
|
||||
unsigned int action_idx = entry->data.ligActionIndex;
|
||||
unsigned int action;
|
||||
unsigned int ligature_idx = 0;
|
||||
|
||||
if (unlikely (!match_length))
|
||||
return false;
|
||||
|
||||
buffer->merge_out_clusters (match_positions[0], buffer->out_len);
|
||||
|
||||
do
|
||||
{
|
||||
if (unlikely (!match_length))
|
||||
@@ -428,7 +434,6 @@ struct LigatureSubtable
|
||||
buffer->skip_glyph ();
|
||||
end--;
|
||||
}
|
||||
/* TODO merge_clusters / unsafe_to_break */
|
||||
|
||||
action_idx++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user