Package: pango

Function pango-font-description-gravity

Lambda List

pango-font-description-gravity (desc)

Syntax

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

Arguments

desc -- a pango-font-description instance
gravity -- a pango-gravity value for the gravity for the font description

Details

Accessor of the gravity field of the font description.

The function pango-font-description-gravity gets the gravity field of a font description. The function (setf pango-font-description-gravity) sets the gravity field. The gravity field specifies how the glyphs should be rotated. If gravity is :auto, this actually unsets the gravity mask on the font description.

This function is seldom useful to the user. Gravity should normally be set on a pango-context object.
 

See also

2021-1-14