From a321e1d51e0e7fa02738410e8d6e77c841bc6b13 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 9 Aug 2012 18:30:34 -0400 Subject: [PATCH] Revert "Reject lookups with no subTable" This reverts commit 30ec9002d84e8b49290e782e6192069821ffa942. See previous commit. --- src/hb-ot-layout-common-private.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index fad813f..cea5b75 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/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 (subTable); -- 2.7.4