summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.h
diff options
context:
space:
mode:
authorCaleb Hearon <crh0872@gmail.com>2020-05-31 17:51:06 +0000
committerCaleb Hearon <crh0872@gmail.com>2020-06-13 03:29:35 +0000
commit79baf68b39e7654f8f00c60c8a86ef6054a391dc (patch)
tree177229d4e0668edd82c46f0cf778a435496b60da /pango/pangofc-fontmap.h
parentb1411194d196471fad7984a73044a3c19e7d884d (diff)
downloadpango-79baf68b39e7654f8f00c60c8a86ef6054a391dc.tar.gz
single function type for FC substitute callback
Diffstat (limited to 'pango/pangofc-fontmap.h')
-rw-r--r--pango/pangofc-fontmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h
index a41ae1d9..f7cc88b4 100644
--- a/pango/pangofc-fontmap.h
+++ b/pango/pangofc-fontmap.h
@@ -106,6 +106,15 @@ hb_face_t * pango_fc_font_map_get_hb_face (PangoFcFontMap *fcfontmap,
PangoFcFont *fcfont);
/**
+ * PangoFcSubstituteFunc:
+ * @pattern: the FcPattern to tweak.
+ * @data: user data.
+ *
+ * Function type for doing final config tweaking on prepared FcPatterns.
+ */
+typedef void (*PangoFcSubstituteFunc) (FcPattern *pattern,
+ gpointer data);
+/**
* PANGO_FC_GRAVITY:
*
* String representing a fontconfig property name that Pango sets on any