Name
pfontmap:CreateContext -- create context
Synopsis
context = pfontmap:CreateContext()
Function
Creates a Pango context connected to the fontmap.

This is equivalent to pango.Context() followed by pcontext:SetFontMap().

This function returns the newly allocated Pango context, which should be freed with pcontext:Free().

Inputs
none

Results
context
the newly allocated Pango context

Show TOC