summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-09 15:08:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 16:19:58 -0700
commit48c5b52c944be0083a6c35caea86d186175b1640 (patch)
treec421e06fb311805aac7bd28f997ccb6de9db0aed /pango/fonts.c
parent8871ee9eef7ae1df0a3a3626e31f7ed1fc21a70d (diff)
downloadpango-48c5b52c944be0083a6c35caea86d186175b1640.tar.gz
Deprecate pango_font_find_shaper
Deprecate pango_font_find_shaper, make it return NULL, and remove the find_shaper vfunc.
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 4ba9d3fe..0d68cefd 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1720,20 +1720,14 @@ pango_font_get_coverage (PangoFont *font,
* language tag and character point.
*
* Return value: (transfer none): the best matching shaper.
+ * Deprecated: Shape engines are no longer used
**/
PangoEngineShape *
pango_font_find_shaper (PangoFont *font,
PangoLanguage *language,
guint32 ch)
{
- PangoEngineShape* shaper;
-
- if (G_UNLIKELY (!font))
- return NULL;
-
- shaper = PANGO_FONT_GET_CLASS (font)->find_shaper (font, language, ch);
-
- return shaper;
+ return NULL;
}
/**