[pango/harfbuzz-ng] [GSUB] Oops, fix Extension check
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango/harfbuzz-ng] [GSUB] Oops, fix Extension check
- Date: Mon, 18 May 2009 05:50:17 -0400 (EDT)
commit 73460adabb9ccafa3cf990f0a8f78084b9a0973d
Author: Behdad Esfahbod <behdad behdad org>
Date: Mon May 18 05:22:32 2009 -0400
[GSUB] Oops, fix Extension check
---
pango/opentype/hb-ot-layout-gsub-private.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/pango/opentype/hb-ot-layout-gsub-private.h b/pango/opentype/hb-ot-layout-gsub-private.h
index 1db04a9..75ff827 100644
--- a/pango/opentype/hb-ot-layout-gsub-private.h
+++ b/pango/opentype/hb-ot-layout-gsub-private.h
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]