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 function pango-context-font-map, and the function pango-font-map-create-context 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 it's own way of create a pango-context. For instance, the GTK+ toolkit has, among others, the functions gdk-pango-context-for-screen, and gtk-widget-pango-context. Use those instead.
 

See also

2021-1-3