[kerx] When rejecting variable kerning, also check for tupleCount

This commit is contained in:
Behdad Esfahbod 2018-10-10 19:20:06 -04:00
parent 7ed5366d3c
commit f6aaad9b4f
1 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,8 @@ struct kerx
{
bool reverse;
if (table->u.header.coverage & (KerxTable::CrossStream | KerxTable::Variation))
if (table->u.header.coverage & (KerxTable::CrossStream | KerxTable::Variation) ||
table->u.header.tupleCount)
goto skip; /* We do NOT handle cross-stream or variation kerning. */
if (HB_DIRECTION_IS_VERTICAL (c->buffer->props.direction) !=