提交 3dcb12f1 编写于 作者: B Behdad Esfahbod

[GSUB] Oops, fix Extension check

上级 2e8fb6c3
......@@ -773,8 +773,7 @@ ASSERT_SIZE (GSUB, 10);
inline bool ExtensionSubstFormat1::substitute (LOOKUP_ARGS_DEF) const {
unsigned int lookup_type = get_type ();
/* TODO belongs to sanitize() */
if (HB_UNLIKELY (lookup_type == GSUB_ReverseChainSingle))
if (HB_UNLIKELY (lookup_type == GSUB_Extension))
return false;
return (*(SubstLookupSubTable *)(((char *) this) + get_offset ())).substitute (LOOKUP_ARGS,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册