Package: pango

Function pango:item-char-offset

Lambda List

pango:item-char-offset (item)

Arguments

item -- a pango:item instance

Return Value

The integer with the character offset, or -1.

Details

Returns the character offset of the item from the beginning of the itemized text. If the item has not been obtained from Pango’s itemization machinery, then the character offset is not available. In that case, this function returns -1.

Since 1.54
 

See also

2025-4-14