SynopsisPangoEngineLang; PangoEngineLangClass; #define PANGO_ENGINE_TYPE_LANG #define PANGO_ENGINE_LANG_DEFINE_TYPE (name, prefix, class_init, instance_init) Description
The language engines are rendering-system independent
engines that determine line, word, and character breaks for character strings.
These engines are used in DetailsPangoEngineLangtypedef struct _PangoEngineLang PangoEngineLang; The PangoEngineLang class is implemented by engines that customize the rendering-system independent part of the Pango pipeline for a particular script or language. For instance, a custom PangoEngineLang could be provided for Thai to implement the dictionary-based word boundary lookups needed for that language.
PangoEngineLangClasstypedef struct { void (*script_break) (PangoEngineLang *engine, const char *text, int len, PangoAnalysis *analysis, PangoLogAttr *attrs, int attrs_len); } PangoEngineLangClass; Class structure for PangoEngineLang
PANGO_ENGINE_TYPE_LANG#define PANGO_ENGINE_TYPE_LANG "PangoEngineLang" A string constant defining the engine type for language engines. These engines derive from PangoEngineLang. PANGO_ENGINE_LANG_DEFINE_TYPE()#define PANGO_ENGINE_LANG_DEFINE_TYPE(name, prefix, class_init, instance_init) Outputs the necessary code for GObject type registration for a PangoEngineLang class defined in a module. Two static symbols are defined.
static GType
The
PangoEngine *engine = g_object_new (
|