How to get real positions of text glyphs

55 views Asked by At

CTFontGetAdvancesForGlyphs returns an array with widths of each text glypth (letter).

How to get real positions for each glyph (letter) in a text string?

If I calculate a sum of all text glyphs a resulting valuer is larger than real text string. This problem is especially actual for certain letters: "To" or "Te".

0

There are 0 answers