getSlugForGlyphIndex

fun getSlugForGlyphIndex(face: Face, index: Int): Int(source)

Returns the slug of the glyph at index in face, adding the glyph to slugMap when it is not in it yet