Re: getting a pango tabarray for a specific line of text

2007-11-21 Thread Nick Gravgaard
On 21/11/2007, Behdad Esfahbod <[EMAIL PROTECTED]> wrote: > On Wed, 2007-11-21 at 01:32 +0100, Nick Gravgaard wrote: > > Hi all, > > > > My application has non-uniform tabs of different sizes on different > > lines. Does anyone know how I should go about getting a

getting a pango tabarray for a specific line of text

2007-11-20 Thread Nick Gravgaard
Hi all, My application has non-uniform tabs of different sizes on different lines. Does anyone know how I should go about getting a pango tabarray for a specific line of text in a textbuffer? Thanks in advance, Nick ___ gtk-app-devel-list mailing list g

distance in pixels between 2 GtkTextIters

2007-09-05 Thread Nick Gravgaard
Hi, I'm trying to figure out how to get the distance in pixels between 2 GtkTextIters. At the moment I'm using gtk_text_iter_get_slice() to get a char pointer, and then using gtk_widget_create_pango_layout() and getting the width from that using pango_layout_get_pixel_size(). The problem with this