summaryrefslogtreecommitdiff
path: root/pango/pango-modules.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-07-28 18:37:36 -0400
committerBehdad Esfahbod <behdad@behdad.org>2015-04-04 16:13:40 -0700
commit7d30b3f91958a3ff45ee2b8e5de2b6186cadfb72 (patch)
treec598289612344faffb3b0225707f1c2ed2282de8 /pango/pango-modules.h
parent14c11dd96e1547aaede1bb05a0243f5b0b53186e (diff)
downloadpango-7d30b3f91958a3ff45ee2b8e5de2b6186cadfb72.tar.gz
Deprecate module system, skip it for shaper modules
Now shaper is discovered via (previously unused!) font->find_shaper(). I'm keeping that just to allow clients override shaping. Though, even that I'm not sure we want to keep. Wraps shaper in PangoEngineShape structs to keep PangoAnalysis API intact. Deprecated pango-modules.h and some pango-engine.h. Language modules are not moved yet. Wired up PangoFc, PangoWin32, and PangoCoretext shapers.
Diffstat (limited to 'pango/pango-modules.h')
-rw-r--r--pango/pango-modules.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-modules.h b/pango/pango-modules.h
index aec79e76..344ef419 100644
--- a/pango/pango-modules.h
+++ b/pango/pango-modules.h
@@ -53,15 +53,19 @@ struct _PangoIncludedModule
PangoEngine *(*create) (const char *id);
};
+G_DEPRECATED
PangoMap * pango_find_map (PangoLanguage *language,
guint engine_type_id,
guint render_type_id);
+G_DEPRECATED
PangoEngine * pango_map_get_engine (PangoMap *map,
PangoScript script);
+G_DEPRECATED
void pango_map_get_engines (PangoMap *map,
PangoScript script,
GSList **exact_engines,
GSList **fallback_engines);
+G_DEPRECATED
void pango_module_register (PangoIncludedModule *module);
#endif /* PANGO_ENABLE_BACKEND */