Top |
void | script_engine_list () |
void | script_engine_init () |
void | script_engine_exit () |
PangoEngine * | script_engine_create () |
struct | PangoEngineInfo |
struct | PangoEngineScriptInfo |
struct | PangoEngine |
struct | PangoEngineClass |
#define | PANGO_RENDER_TYPE_NONE |
Pango utilizes a module architecture in which the language-specific and render-system-specific components are provided by loadable modules. Each loadable module supplies one or more engines. Each engine has an associated engine type and render type. These two types are represented by strings.
Each dynamically-loaded module exports several functions which provide
the public API. These functions are script_engine_list()
,
script_engine_init()
and script_engine_exit, and
script_engine_create()
. The latter three functions are used when
creating engines from the module at run time, while the first
function is used when building a catalog of all available modules.
void script_engine_list (PangoEngineInfo **engines
,int *n_engines
);
script_engine_list
has been deprecated since version 1.38 and should not be used in newly-written code.
Do not use.
void
script_engine_init (GTypeModule *module
);
script_engine_init
has been deprecated since version 1.38 and should not be used in newly-written code.
Do not use.
module |
a GTypeModule structure used to associate any GObject types created in this module with the module. |
void
script_engine_exit (void
);
script_engine_exit
has been deprecated since version 1.38 and should not be used in newly-written code.
Do not use.
PangoEngine *
script_engine_create (const char *id
);
script_engine_create
has been deprecated since version 1.38 and should not be used in newly-written code.
Do not use.
struct PangoEngineInfo { const gchar *id; const gchar *engine_type; const gchar *render_type; PangoEngineScriptInfo *scripts; gint n_scripts; };
PangoEngineInfo
has been deprecated since version 1.38 and should not be used in newly-written code.
The PangoEngineInfo structure contains information about a particular engine. It contains the following fields:
const gchar * |
a unique string ID for the engine. |
|
const gchar * |
a string identifying the engine type. |
|
const gchar * |
a string identifying the render type. |
|
PangoEngineScriptInfo * |
array of scripts this engine supports. |
|
gint |
number of items in |
struct PangoEngineScriptInfo { PangoScript script; const gchar *langs; };
PangoEngineScriptInfo
has been deprecated since version 1.38 and should not be used in newly-written code.
The PangoEngineScriptInfo structure contains information about how the shaper covers a particular script.
PangoScript |
a PangoScript. The value |
|
const gchar * |
a semicolon separated list of languages that this engine handles for this script. This may be empty, in which case the engine is saying that it is a fallback choice for all languages for this range, but should not be used if another engine indicates that it is specific for the language for a given code point. An entry in this list of "*" indicates that this engine is specific to all languages for this range. |
struct PangoEngine;
PangoEngine
has been deprecated since version 1.38 and should not be used in newly-written code.
PangoEngine is the base class for all types of language and script specific engines. It has no functionality by itself.
struct PangoEngineClass { };
PangoEngineClass
has been deprecated since version 1.38 and should not be used in newly-written code.
Class structure for PangoEngine