Revert "Reject lookups with no subTable"
This reverts commit 30ec9002d8
.
See previous commit.
This commit is contained in:
parent
2eaf482b37
commit
a321e1d51e
|
@ -314,7 +314,6 @@ struct Lookup
|
||||||
TRACE_SANITIZE ();
|
TRACE_SANITIZE ();
|
||||||
/* Real sanitize of the subtables is done by GSUB/GPOS/... */
|
/* Real sanitize of the subtables is done by GSUB/GPOS/... */
|
||||||
if (!(c->check_struct (this) && subTable.sanitize (c))) return TRACE_RETURN (false);
|
if (!(c->check_struct (this) && subTable.sanitize (c))) return TRACE_RETURN (false);
|
||||||
if (!subTable.len) TRACE_RETURN (false);
|
|
||||||
if (unlikely (lookupFlag & LookupFlag::UseMarkFilteringSet))
|
if (unlikely (lookupFlag & LookupFlag::UseMarkFilteringSet))
|
||||||
{
|
{
|
||||||
USHORT &markFilteringSet = StructAfter<USHORT> (subTable);
|
USHORT &markFilteringSet = StructAfter<USHORT> (subTable);
|
||||||
|
|
Loading…
Reference in New Issue