How do I get X,Y pos and PangoLogAttr of each glyph in a rendered string?

2011-04-19 Thread Alex Kerr
Hello, I'm using a really basic Cairo Pango prog as a test bed. It just displays a short string on a Cairo surface using a Pango layout, which works fine. For each glyph in the string, I now want to get it's X,Y pos (and width and height) on the rendered Cairo surface, and the PangoLogAttr d

Re: How do I get X, Y pos and PangoLogAttr of each glyph in a rendered string?

2011-04-19 Thread Behdad Esfahbod
On 04/19/11 16:27, Alex Kerr wrote: > Hello, Hi Alex, > I'm using a really basic Cairo Pango prog as a test bed. It just displays a > short string on a Cairo surface using a Pango layout, which works fine. > > For each glyph in the string, I now want to get it's X,Y pos (and width and > height)