go from PangoGlyphItemIter to an index into a PangoLogAttr ?
- From: august <august alien mur at>
- To: gtk-i18n-list gnome org
- Subject: go from PangoGlyphItemIter to an index into a PangoLogAttr ?
- Date: Sun, 24 Oct 2010 21:10:25 +0200
Hi,
Could someone tell me how to go from a PangoGlyphItemIter to and
index into a PangoLogAttr that comes from pango_layout_get_log_attrs?
My code first gets a layout and sets the text. Then, I do
get_log_attrs on the text.
The pango docs say that the get_log_attrs function "Retrieves an
array of logical attributes for each character in the layout. "
What does character mean in that sentence?
Then, after getting the log_attrs, I get a layout iter and step
through the text by line, run, and then by
glyphitemiter.next_cluster.
Is there no direct way to index back into my log_attrs[] array from
the glyphitemiter?
thanks for any tips. I've been staring at this for so long now.
best -august.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]