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 approach is that it doesn't take into account any bold and/or italic text that might occur between the 2 GtkTextIters.
What's the solution to this problem? Thanks, Nick _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list