Package: pango

Function pango-layout-font-description

Lambda List

pango-layout-font-description (layout)

Syntax

(pango-layout-font-description layout) => desc
(setf (pango-layout-font-description layout) desc)

Arguments

layout -- a pango-layout object
desc -- the new pango-font-description structure, or nil to unset the current font description

Details

Accessor of the font description of the Pango layout.

The function pango-layout-font-description gets the font description for the Pango layout. The function (setf pango-layout-font-description) sets the default font description for the Pango layout.

If no font description is set on the layout, the font description from the layout's context is used.
 

See also

2020-4-11