From: Behdad Esfahbod Date: Thu, 9 Aug 2012 22:30:34 +0000 (-0400) Subject: Revert "Reject lookups with no subTable" X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a321e1d51e0e7fa02738410e8d6e77c841bc6b13;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Revert "Reject lookups with no subTable" This reverts commit 30ec9002d84e8b49290e782e6192069821ffa942. See previous commit. --- 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);