Core text slow CTFontGetBoundingRectsForGlyphs()

I am using CTFontGetBoundingRectsForGlyphs() to find single glyphs width. But it is too slow to call it multiple times per text line. And I ask you is there faster method to check glyph dimensions?