reorderItems

fnpango.item.Item[] reorderItems(pango.item.Item[] items)

Reorder items from logical order to visual order.

The visual order is determined from the associated directional levels of the items. The original list is unmodified.

(Please open a bug if you use this function. It is not a particularly convenient interface, and the code is duplicated elsewhere in Pango for that reason.)

Parameters

itemsa [glib.list.List] of [pango.item.Item] in logical order.

Returns

a [glib.list.List]

of [pango.item.Item] structures in visual order.