Package: pango

Function pango:layout-justify

Lambda List

pango:layout-justify (layout)

Syntax

(pango:layout-justify layout) => justify
(setf (pango:layout-justify layout) justify)

Arguments

layout -- a pango:layout object
justify -- a boolean whether the lines in the Pango layout should be justified

Details

The pango:layout-justify function gets whether each complete line should be stretched to fill the entire width of the Pango layout. The (setf pango:layout-justify) function sets the justify. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification may be done in more complex ways, like extending the characters.
 

See also

#2025-2-15