iterate through a layout by char or word?




Is there any way to iterate through a PangoyLayout by character or word?

Is there a way to iterate by word and then show it using cairo?



I can do something similar with pango_itemize, pango_break, and
pango_shape.   But, I can't seem to do anything with the resulting
PangoGlyphString  that I get.

I can do pango_cairo_show_glyph_string(), but I want to just show a word
or character.  Is there something like
pango_cairo_show_glyph_string_range()?


I can do pango_glyph_string_copy(), but cant do anything like strncpy
where I can just get a segment of that PangoGlyphString.  


Any tips would be greatly appreciated.


thanks -august.





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