Re: iterate through a layout by char or word?
- From: Behdad Esfahbod <behdad behdad org>
- To: august <august alien mur at>
- Cc: gtk-i18n-list gnome org
- Subject: Re: iterate through a layout by char or word?
- Date: Thu, 22 Jul 2010 15:03:08 -0400
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.
behdad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]