summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangofc-fontmap.h')
-rw-r--r--pango/pangofc-fontmap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h
index 9302a701..925a1467 100644
--- a/pango/pangofc-fontmap.h
+++ b/pango/pangofc-fontmap.h
@@ -84,6 +84,7 @@ struct _PangoFcFontMapClass
/*< public >*/
void (*default_substitute) (PangoFcFontMap *fontmap,
FcPattern *pattern);
+ /* Deprecated in favor of create_font */
PangoFcFont *(*new_font) (PangoFcFontMap *fontmap,
FcPattern *pattern);
@@ -93,12 +94,14 @@ struct _PangoFcFontMapClass
int *xsize,
int *ysize,
guint *flags);
+ PangoFcFont *(*create_font) (PangoFcFontMap *fontmap,
+ PangoContext *context,
+ FcPattern *pattern);
/*< private >*/
/* Padding for future expansion */
void (*_pango_reserved1) (void);
void (*_pango_reserved2) (void);
- void (*_pango_reserved3) (void);
};
PangoContext * pango_fc_font_map_create_context (PangoFcFontMap *fcfontmap);