summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-13 22:59:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 19:52:36 -0400
commit40a805478dfa8988315fd8b7f8515af65c3f90c7 (patch)
tree401a68e86b3a2ac189211a80f18b0f513a740947 /pango/pango-font.h
parent044d31030af43722e79c582fc3c4d3e4ace9d9a3 (diff)
downloadpango-40a805478dfa8988315fd8b7f8515af65c3f90c7.tar.gz
Add pango_font_face_get_family
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index d84847a5..a456a75c 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -514,6 +514,7 @@ struct _PangoFontFaceClass
int **sizes,
int *n_sizes);
gboolean (*is_synthesized) (PangoFontFace *face);
+ PangoFontFamily * (*get_family) (PangoFontFace *face);
/*< private >*/
@@ -538,6 +539,9 @@ void pango_font_face_list_sizes (PangoFontFace *face,
PANGO_AVAILABLE_IN_1_18
gboolean pango_font_face_is_synthesized (PangoFontFace *face) G_GNUC_PURE;
+PANGO_AVAILABLE_IN_1_46
+PangoFontFamily * pango_font_face_get_family (PangoFontFace *face);
+
/*
* PangoFont
@@ -654,7 +658,6 @@ void pango_font_get_features (PangoFont *font,
PANGO_AVAILABLE_IN_1_44
hb_font_t * pango_font_get_hb_font (PangoFont *font);
-
/**
* PANGO_GLYPH_EMPTY:
*