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 -- a pango:style value with the style for the font description

Details

The pango:font-description-style function gets the style field of a font description instance. The (setf pango:font-description-style) function 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

2024-3-3