[GSUB] Oops, fix Extension check
This commit is contained in:
parent
2e8fb6c38d
commit
3dcb12f171
|
@ -773,8 +773,7 @@ ASSERT_SIZE (GSUB, 10);
|
||||||
inline bool ExtensionSubstFormat1::substitute (LOOKUP_ARGS_DEF) const {
|
inline bool ExtensionSubstFormat1::substitute (LOOKUP_ARGS_DEF) const {
|
||||||
unsigned int lookup_type = get_type ();
|
unsigned int lookup_type = get_type ();
|
||||||
|
|
||||||
/* TODO belongs to sanitize() */
|
if (HB_UNLIKELY (lookup_type == GSUB_Extension))
|
||||||
if (HB_UNLIKELY (lookup_type == GSUB_ReverseChainSingle))
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return (*(SubstLookupSubTable *)(((char *) this) + get_offset ())).substitute (LOOKUP_ARGS,
|
return (*(SubstLookupSubTable *)(((char *) this) + get_offset ())).substitute (LOOKUP_ARGS,
|
||||||
|
|
Loading…
Reference in New Issue