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 layout should be justified

Details

Accessor of the justify value of the Pango layout.

The function pango-layout-justify gets whether each complete line should be stretched to fill the entire width of the layout. The function (setf pango-layout-justify) 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

2021-1-15