[gpos] Fix conditional

pull/3395/head
Behdad Esfahbod 3 years ago
parent 773cf4fdd3
commit cce37a6f10
  1. 2
      src/hb-ot-layout-gpos-table.hh

@ -1584,7 +1584,7 @@ struct PairPosFormat2
/* Add Devices. */
mask |= mask << 4;
if (valueFormat1 & !mask)
if (valueFormat1 & ~mask)
goto bail;
/* Is simple kern. Apply value on an empty position slot,

Loading…
Cancel
Save