Re: glyph item split

2011-05-27 Thread august
On 05/27/11 12:55, august wrote: The split_index is said to be: byte index of position to split item, relative to the start of the item Can you explain what this means in more detail? What is the start of the item? How do I get that? The item corresponds

Re: Drawing glyph bounding box on rendered text?

2011-05-09 Thread august
Behdad posted a python application that draws lines around clusters, runs, and lines: http://mail.gnome.org/archives/gtk-i18n-list/2011-April/msg7.html Maybe you haven't seen that yet and can help. best -august. Hi all, I'm trying to accurately draw a rectangle around each

Re: Drawing glyph bounding box on rendered text?

2011-05-09 Thread august
Maybe you haven't seen that yet and can help. best -august. ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: pango_cairo_show_glyph_item_range ?

2010-11-09 Thread august
On 11/01/10 20:22, august wrote: Would it be possible to have a pango_cairo_show_glyph_item_range function that would take a start and end value? This would be very useful. I agree. Filed a bug: https://bugzilla.gnome.org/show_bug.cgi?id=633926 Feel free to submit

Re: go from PangoGlyphItemIter to an index into a PangoLogAttr ?

2010-10-25 Thread august
of characters in the source text fed into the layout. However, what I don't know is the correlation between the # characters in the layout and the # characters in the source text. They are not the same. -august. ___ gtk-i18n-list mailing list gtk-i18n

go from PangoGlyphItemIter to an index into a PangoLogAttr ?

2010-10-24 Thread august
, and then by glyphitemiter.next_cluster. Is there no direct way to index back into my log_attrs[] array from the glyphitemiter? thanks for any tips. I've been staring at this for so long now. best -august. ___ gtk-i18n-list mailing list gtk

some questions about runs, glyphs, chars, bytes, clusters

2010-07-12 Thread august
is considered one glyph. Is that right? Sorry if my questions are basic. I can see how complex type layout is now that I am getting my hands dirty. Any help would be greatly appreciated. thank you -august. ___ gtk-i18n

glyphs

2010-07-07 Thread august
, glyphs[j].glyphs-glyph ); } What am I doing wrong? thanks -august. ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: glyphs

2010-07-07 Thread august
. But, if anyone has a link to some readable example code using pango_itemize, pango_break, and pango_shape, I'd really appreciate it. I cannot find anything online. -august. ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman

iterate through a layout by char or word?

2010-07-07 Thread august
would be greatly appreciated. thanks -august. ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

memory leaks on pango examples

2009-08-06 Thread august
=full ./cairosimple blah.png where ./cairosimple is the example program provided in the pango source dir. thanks -august. ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread august
august, I can already render stuff to screen and bound a text segment by width and height I guess you tried PangoLayout and friends. how to render text within a non-rectangular bounding shape? Can someone point me in the right direction? If I were you, I'd be using PangoItem

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread august
at Nathan Hurst's code for inkscape. I'd love to study some of that code...but it seems like most of the links on that page are gone now. Is this something I could help implement? -august

GLib new user + Quarks and Hash Tables

2000-06-23 Thread David August
help. David -- Prof. David AugustDepartment of Computer Science [EMAIL PROTECTED] Princeton University http://www.cs.princeton.edu/~august (609) 258-2085 ___ gtk-list mailing list [EMAIL PROTECTED] http