Revert "Reject lookups with no subTable"
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 9 Aug 2012 22:30:34 +0000 (18:30 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 9 Aug 2012 22:30:34 +0000 (18:30 -0400)
This reverts commit 30ec9002d84e8b49290e782e6192069821ffa942.

See previous commit.

src/hb-ot-layout-common-private.hh

index fad813f..cea5b75 100644 (file)
@@ -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);