truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange

optional func layoutManager(_ layoutManager:  NSLayoutManager , 
       shouldGenerateGlyphs glyphs:  UnsafePointer < CGGlyph >, 
                 properties props:  UnsafePointer < NSLayoutManager . GlyphProperty >, 
           characterIndexes charIndexes:  UnsafePointer < Int >, 
                       font aFont:  UIFont , 
              forGlyphRange glyphRange:  NSRange ) ->  Int