Package: pango

Function pango:context-base-dir

Lambda List

pango:context-base-dir (context)

Syntax

(pango:context-base-dir context) => direction
(setf (pango:context-base-dir context) direction)

Arguments

context -- a pango:context
direction -- a pango:direction value for the base direction

Details

Gets or sets the base direction for the Pango context. The base direction is used in applying the Unicode bidirectional algorithm. If the direction is :ltr or :rtl, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A :weak-ltr value or :weak-rtl value is used only for paragraphs that do not contain any strong characters themselves.
 

See also

2025-08-24