PgMap

A #PangoMap structure can be used to determine the engine to use for each character.

Constructors

this
this(PangoMap* pangoMap)

Sets our main struct and passes it to the parent class.

Members

Functions

getEngine
PgEngine getEngine(PangoScript script)

Returns the best engine listed in the map for a given script

getEngines
void getEngines(PangoScript script, ListSG exactEngines, ListSG fallbackEngines)

Finds engines in the map that handle the given script. The returned lists should be freed with g_slist_free, but the engines in the lists are owned by GLib and will be kept around permanently, so they should not be unref'ed.

getPgMapStruct
PangoMap* getPgMapStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

findMap
PgMap findMap(PgLanguage language, uint engineTypeId, uint renderTypeId)

Locate a #PangoMap for a particular engine type and render type. The resulting map can be used to determine the engine for each character.

moduleRegister
void moduleRegister(PangoIncludedModule* modul)

Registers a statically linked module with Pango. The #PangoIncludedModule structure that is passed in contains the functions that would otherwise be loaded from a dynamically loaded module.

Variables

pangoMap
PangoMap* pangoMap;

the main Gtk struct

Meta