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

2011-05-26 Thread august
> You definitely can do it with glyphs, but is that really what you want? > There's simpler API in pango to do that per cluster. Note that you cannot map > a glyph to the original string (and hence PangoLogAttr). You can only do that > per cluster. > > Check PangoLayoutIter. > > I'm also attach

Large inter-character spacing on win32

2011-05-26 Thread μ—„μΉ˜ν˜„
Hello, I am using Pango with the win32 backend and then taking the glyph information and outputting it to a PDF. I take the width of each glyph and maintain a sum of the of the previous glyphs' widths in order to place the current glyph. The problem is that the output does not look right, see imag