createContext

Creates a PangoContext connected to @fontmap.

This is equivalent to ctor@Pango.Context.new followed by method@Pango.Context.set_font_map.

If you are using Pango as part of a higher-level system, that system may have it's own way of create a PangoContext. For instance, the GTK toolkit has, among others, gtk_widget_get_pango_context(). Use those instead.

Return

the newly allocated PangoContext, which should be freed with g_object_unref().

Since

1.22