[kerx] Merge clusters in Ligature

This commit is contained in:
Behdad Esfahbod committed 2018-10-15 11:05:10 -07:00
1 parent bb35725cd7
commit 55d5ea666c
1 file changed
+6 -1
+6 -1
View File
@@ -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++;
}