summaryrefslogtreecommitdiff
path: root/pango/pango-ot-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-05-04 20:21:57 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-05-05 00:47:44 -0400
commit0bb5d464baab47bb7b6e9852a5c7932bdb2df018 (patch)
tree76769d89f21d5140d88416db064c6c2e2700f556 /pango/pango-ot-private.h
parent644d9208ce6f916d702d41f35c3bd3f87552fa7b (diff)
downloadpango-0bb5d464baab47bb7b6e9852a5c7932bdb2df018.tar.gz
[GSUB] Hook new GSUB up in Pango
Diffstat (limited to 'pango/pango-ot-private.h')
-rw-r--r--pango/pango-ot-private.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/pango/pango-ot-private.h b/pango/pango-ot-private.h
index 0ba3984b..c1ee4556 100644
--- a/pango/pango-ot-private.h
+++ b/pango/pango-ot-private.h
@@ -40,7 +40,6 @@ struct _PangoOTInfo
FT_Face face;
hb_ot_layout_t *layout;
- HB_GSUB gsub;
HB_GPOS gpos;
};
@@ -50,6 +49,15 @@ struct _PangoOTInfoClass
};
+typedef struct _PangoOTRule PangoOTRule;
+
+struct _PangoOTRule
+{
+ gulong property_bit;
+ HB_UShort feature_index;
+ guint table_type : 1;
+};
+
typedef struct _PangoOTRulesetClass PangoOTRulesetClass;
struct _PangoOTRuleset
@@ -81,7 +89,9 @@ struct _PangoOTBuffer
};
hb_ot_layout_t *_pango_ot_info_get_layout (PangoOTInfo *info);
-HB_GSUB pango_ot_info_get_gsub (PangoOTInfo *info);
+void _pango_ot_info_substitute (const PangoOTInfo *info,
+ const PangoOTRuleset *ruleset,
+ PangoOTBuffer *buffer);
HB_GPOS pango_ot_info_get_gpos (PangoOTInfo *info);
G_END_DECLS