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

pull/1238/head
Behdad Esfahbod 6 years ago
parent 7ed5366d3c
commit f6aaad9b4f
  1. 3
      src/hb-aat-layout-kerx-table.hh

@ -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…
Cancel
Save