summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 23:59:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 12:47:53 -0700
commitb3c6ed417f7f6bf98f7114dd075818d20489622c (patch)
treebdd7064af6a5933ce28631850b8c8a9b746a74f9 /pango/pango-font.h
parent34d65ee29a689346f8066954d66b20a94d2f20f1 (diff)
downloadpango-b3c6ed417f7f6bf98f7114dd075818d20489622c.tar.gz
Add api to get a hb_font_t
Add pango_font_get_hb_font, which will make it easier access harfbuzz features.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 5e49d266..cec7efc6 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -26,6 +26,7 @@
#include <pango/pango-types.h>
#include <glib-object.h>
+#include <hb.h>
G_BEGIN_DECLS
@@ -492,6 +493,8 @@ void pango_font_get_features (PangoFont *font,
hb_feature_t *features,
guint len,
guint *num_features);
+PANGO_AVAILABLE_IN_1_44
+hb_font_t * pango_font_get_hb_font (PangoFont *font);
/**