logical index to visual index (Pango 1.0.1)



Hello Everyone,

Given the following string, in logical order:

<some herbrew> Hello

Imangine the visual order is as follows:

Hello <some hebrew>

Now, is there any way programmatically to determine,
given the logical index of the letter 'H',
the 'visual' index of the letter 'H', without
having to render the layout?  

Would pango_layout_line_index_to_x, or pango_layout_line_x_to_index
be used for this purpose?

Thank You.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]