[kerx] When rejecting variable kerning, also check for tupleCount
This commit is contained in:
parent
7ed5366d3c
commit
f6aaad9b4f
|
@ -339,7 +339,8 @@ struct kerx
|
||||||
{
|
{
|
||||||
bool reverse;
|
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. */
|
goto skip; /* We do NOT handle cross-stream or variation kerning. */
|
||||||
|
|
||||||
if (HB_DIRECTION_IS_VERTICAL (c->buffer->props.direction) !=
|
if (HB_DIRECTION_IS_VERTICAL (c->buffer->props.direction) !=
|
||||||
|
|
Loading…
Reference in New Issue