[gsub] Adjust single-length ligature subst to act like single subst

pull/43/merge
Behdad Esfahbod 11 years ago
parent aae69451df
commit b5be231720
  1. 8
      src/hb-ot-layout-gsub-table.hh

@ -638,6 +638,14 @@ struct Ligature
if (unlikely (!count)) return TRACE_RETURN (false);
/* Special-case to make it in-place and not consider this
* as a "ligated" substitution. */
if (unlikely (count == 1))
{
c->replace_glyph (ligGlyph);
return TRACE_RETURN (true);
}
bool is_mark_ligature = false;
unsigned int total_component_count = 0;

Loading…
Cancel
Save