Package: pango

Function pango:context-new

Lambda List

pango:context-new ()

Return Value

The newly allocated pango:context object.

Details

Creates a new Pango Context initialized to default values. This function is not particularly useful as it should always be followed by a call of the pango:context-font-map function, and the pango:font-map-create-context function does these two steps together and hence users are recommended to use that.

If you are using Pango as part of a higher-level system, that system may have its own way of create a Pango context. For instance, the GTK toolkit has, among others, the gtk:widget-pango-context function. Use those instead.
 

See also

2024-2-23