Name
pcontext:LoadFontset -- load fontset
Synopsis
fontset = pcontext:LoadFontset(desc, language)
Function
Load a set of fonts in the context that can be used to render a font matching desc.

This function returns the newly allocated Pango font set that was loaded, or NULL if no font matched. You can use pfontset:IsNull() to check if the returned object contains a NULL font set.

Inputs
desc
a Pango font description describing the fonts to load
language
a Pango language the fonts will be used for
Results
fontset
the newly allocated font set

Show TOC