diff options
author | Caleb Hearon <crh0872@gmail.com> | 2020-06-08 22:22:55 +0000 |
---|---|---|
committer | Caleb Hearon <crh0872@gmail.com> | 2020-06-13 03:29:35 +0000 |
commit | e023cf0d66b323359740c453481507ab91005a34 (patch) | |
tree | 75171773d024713c7103d13c3764223908f7df8b /pango/pangoft2.h | |
parent | 79baf68b39e7654f8f00c60c8a86ef6054a391dc (diff) | |
download | pango-e023cf0d66b323359740c453481507ab91005a34.tar.gz |
add pango_fc_font_map_set_default_substitute
added:
pango_fc_font_map_set_default_substitute
pango_fc_font_map_default_substitute_changed
deprecated:
pango_ft2_font_map_set_default_substitute
pango_ft2_font_map_changed
pango_xft_font_map_set_default_substitute
pango_xft_font_map_changed
Now PangoCairoFcFontMap will call what is passed to
pango_fc_font_map_set_default_substitute when it is time.
The deprecated functions make calls to the parent (FC) class now.
The user-supplied callbacks are executed in the exact same places as
before.
Diffstat (limited to 'pango/pangoft2.h')
-rw-r--r-- | pango/pangoft2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoft2.h b/pango/pangoft2.h index 2f45c9e3..cda3b51e 100644 --- a/pango/pangoft2.h +++ b/pango/pangoft2.h @@ -115,6 +115,7 @@ PANGO_AVAILABLE_IN_1_2 void pango_ft2_font_map_set_resolution (PangoFT2FontMap *fontmap, double dpi_x, double dpi_y); +#ifndef PANGO_DISABLE_DEPRECATED PANGO_AVAILABLE_IN_1_2 void pango_ft2_font_map_set_default_substitute (PangoFT2FontMap *fontmap, PangoFT2SubstituteFunc func, @@ -122,7 +123,6 @@ void pango_ft2_font_map_set_default_substitute (PangoFT2FontMap GDestroyNotify notify); PANGO_AVAILABLE_IN_1_2 void pango_ft2_font_map_substitute_changed (PangoFT2FontMap *fontmap); -#ifndef PANGO_DISABLE_DEPRECATED PANGO_DEPRECATED_IN_1_22_FOR(pango_font_map_create_context) PangoContext *pango_ft2_font_map_create_context (PangoFT2FontMap *fontmap); #endif |