Package: pango

Function pango-font-description-style

Lambda List

pango-font-description-style (desc)

Syntax

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

Arguments

desc -- a pango-font-description instance
style -- the style of type pango-style for the font description

Details

Accessor of the style field for the font description.

The function pango-font-description-style gets the style field of a font description instance. The function (pango-font-description-style) sets the style field. The pango-style enumeration describes whether the font is slanted and the manner in which it is slanted. It can be either :normal, :italic, or :oblique. Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found.
 

See also

*2021-1-14