Using NSLayoutManager to calculate frames for each glyph
On this thread, Core Text calculate letter frame in iOS , they were able to calculate the frame of each glyph very precisely using Core Text. The final rects hug the actual drawn glyphs perfectly. Using NSLayoutManager's boundingRectForGlyphRange:inTextContainer: doesn't seem to return the glyph bounding boxes that precisely: And the returned rects don't fully enclose more complex fonts (Zapfino example): Does anyone know how to replicate the results from the above mentioned discussion without going into Core Text under iOS 7 only apps? Thanks. ugiflezet I've found a solution for this issue or