diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-07-28 18:37:36 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-04-04 16:13:40 -0700 |
commit | 7d30b3f91958a3ff45ee2b8e5de2b6186cadfb72 (patch) | |
tree | c598289612344faffb3b0225707f1c2ed2282de8 /pango/pango-engine.h | |
parent | 14c11dd96e1547aaede1bb05a0243f5b0b53186e (diff) | |
download | pango-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-engine.h')
-rw-r--r-- | pango/pango-engine.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/pango/pango-engine.h b/pango/pango-engine.h index dc146c00..b493040e 100644 --- a/pango/pango-engine.h +++ b/pango/pango-engine.h @@ -212,6 +212,7 @@ struct _PangoEngineShapeClass PangoGlyphString *glyphs, const char *paragraph_text, unsigned int paragraph_length); + G_DEPRECATED PangoCoverageLevel (*covers) (PangoEngineShape *engine, PangoFont *font, PangoLanguage *language, @@ -271,14 +272,11 @@ struct _PangoEngineInfo * @engines: location to store a pointer to an array of engines. * @n_engines: location to store the number of elements in @engines. * - * Function to be provided by a module to list the engines that the - * module supplies. The function stores a pointer to an array - * of #PangoEngineInfo structures and the length of that array in - * the given location. + * Do not use. * - * Note that script_engine_init() will not be called before this - * function. + * Deprecated: 1.37 **/ +G_DEPRECATED void script_engine_list (PangoEngineInfo **engines, int *n_engines); @@ -287,33 +285,33 @@ void script_engine_list (PangoEngineInfo **engines, * @module: a #GTypeModule structure used to associate any * GObject types created in this module with the module. * - * Function to be provided by a module to register any - * GObject types in the module. + * Do not use. + * + * Deprecated: 1.37 **/ +G_DEPRECATED void script_engine_init (GTypeModule *module); /** * script_engine_exit: * - * Function to be provided by the module that is called - * when the module is unloading. Frequently does nothing. + * Do not use. + * + * Deprecated: 1.37 **/ +G_DEPRECATED void script_engine_exit (void); /** * script_engine_create: * @id: the ID of an engine as reported by script_engine_list. * - * Function to be provided by the module to create an instance - * of one of the engines implemented by the module. + * Do not use. * - * Return value: a newly created #PangoEngine of the specified - * type, or %NULL if an error occurred. (In normal operation, - * a module should not return %NULL. A %NULL return is only - * acceptable in the case where system misconfiguration or - * bugs in the driver routine are encountered.) + * Deprecated: 1.37 **/ +G_DEPRECATED PangoEngine *script_engine_create (const char *id); /* Utility macro used by PANGO_ENGINE_LANG_DEFINE_TYPE and |