Revert "Reject lookups with no subTable"

This reverts commit 30ec9002d8.

See previous commit.
pull/1/head
Behdad Esfahbod 13 years ago
parent 2eaf482b37
commit a321e1d51e
  1. 1
      src/hb-ot-layout-common-private.hh

@ -314,7 +314,6 @@ struct Lookup
TRACE_SANITIZE ();
/* Real sanitize of the subtables is done by GSUB/GPOS/... */
if (!(c->check_struct (this) && subTable.sanitize (c))) return TRACE_RETURN (false);
if (!subTable.len) TRACE_RETURN (false);
if (unlikely (lookupFlag & LookupFlag::UseMarkFilteringSet))
{
USHORT &markFilteringSet = StructAfter<USHORT> (subTable);

Loading…
Cancel
Save