summaryrefslogtreecommitdiff
path: root/pango/pango-font-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 23:08:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-11 23:09:44 -0400
commit9ca6fde86a534854b088f09effe02589fdb9a64b (patch)
tree49ac20059058b61dffe7924784851c96c9a57994 /pango/pango-font-private.h
parent5590411f895d9e9bc9edd983c9c8df845ec13018 (diff)
downloadpango-9ca6fde86a534854b088f09effe02589fdb9a64b.tar.gz
Add an api to get features of a font
Diffstat (limited to 'pango/pango-font-private.h')
-rw-r--r--pango/pango-font-private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pango/pango-font-private.h b/pango/pango-font-private.h
index 5d7bb4de..be399d7d 100644
--- a/pango/pango-font-private.h
+++ b/pango/pango-font-private.h
@@ -175,11 +175,15 @@ struct _PangoFontClass
PangoLanguage *language);
PangoFontMap * (*get_font_map) (PangoFont *font);
PangoFontDescription *(*describe_absolute) (PangoFont *font);
+ void (*get_features) (PangoFont *font,
+ hb_feature_t *features,
+ guint len,
+ guint *num_features);
+
/*< private >*/
/* Padding for future expansion */
void (*_pango_reserved1) (void);
- void (*_pango_reserved2) (void);
};
/* used for very rare and miserable situtations that we cannot even