Re: iterate through a layout by char or word?

On 07/07/10 12:31, august wrote:
> I can do pango_glyph_string_copy(), but cant do anything like strncpy
> where I can just get a segment of that PangoGlyphString.  

You can copy and then manually modify the length.  To get to know what to use
for the length you need to walk the clusters.  Check pango_glyph_item_iter_*.
 But I agree that this is convoluted if you just want to show parts of a run.


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