From 2130d852c76cccb94350a4aea222359640ffa8a4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 24 Oct 2007 21:35:03 +0000 Subject: [PATCH] Add commented-out dummy struct for Extension lookups. 2007-10-24 Behdad Esfahbod * pango/opentype/harfbuzz-gpos-private.h: * pango/opentype/harfbuzz-gsub-private.h: Add commented-out dummy struct for Extension lookups. --- src/harfbuzz-gpos-private.h | 13 +++++++++++++ src/harfbuzz-gsub-private.h | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/harfbuzz-gpos-private.h b/src/harfbuzz-gpos-private.h index ba08ecfe..1bd6ec4f 100644 --- a/src/harfbuzz-gpos-private.h +++ b/src/harfbuzz-gpos-private.h @@ -655,6 +655,19 @@ struct HB_ChainContextPos_ typedef struct HB_ChainContextPos_ HB_ChainContextPos; +#if 0 +/* LookupType 10 */ +struct HB_ExtensionPos_ +{ + FT_UShort PosFormat; /* always 1 */ + FT_UShort LookuptType; /* lookup-type of referenced subtable */ + HB_GPOS_SubTable *subtable; /* referenced subtable */ +}; + +typedef struct HB_ExtensionPos_ HB_ExtensionPos; +#endif + + union HB_GPOS_SubTable_ { HB_SinglePos single; diff --git a/src/harfbuzz-gsub-private.h b/src/harfbuzz-gsub-private.h index 7f339cdb..45bae945 100644 --- a/src/harfbuzz-gsub-private.h +++ b/src/harfbuzz-gsub-private.h @@ -403,6 +403,19 @@ struct HB_ChainContextSubst_ typedef struct HB_ChainContextSubst_ HB_ChainContextSubst; +#if 0 +/* LookupType 7 */ +struct HB_ExtensionSubst_ +{ + FT_UShort SubstFormat; /* always 1 */ + FT_UShort LookuptType; /* lookup-type of referenced subtable */ + HB_GSUB_SubTable *subtable; /* referenced subtable */ +}; + +typedef struct HB_ExtensionSubst_ HB_ExtensionSubst; +#endif + + /* LookupType 8 */ struct HB_ReverseChainContextSubst_ { -- GitLab