Revert "Reject lookups with no subTable"

This reverts commit 30ec9002d8.

See previous commit.
This commit is contained in:
Behdad Esfahbod committed 2012-08-09 18:30:34 -04:00
1 parent 2eaf482b37
commit a321e1d51e
1 file changed
-1
-1
View 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);