summaryrefslogtreecommitdiff
path: root/pango/pango-font.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.h
parent5590411f895d9e9bc9edd983c9c8df845ec13018 (diff)
downloadpango-9ca6fde86a534854b088f09effe02589fdb9a64b.tar.gz
Add an api to get features of a font
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 84d4e122..e053875b 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -487,6 +487,12 @@ PangoFontMap *pango_font_get_font_map (PangoFont *font);
PANGO_AVAILABLE_IN_1_44
gboolean pango_font_covers (PangoFont *font,
gunichar unichar);
+PANGO_AVAILABLE_IN_1_44
+void pango_font_get_features (PangoFont *font,
+ hb_feature_t *features,
+ guint len,
+ guint *num_features);
+
/**
* PANGO_GLYPH_EMPTY: