layoutBytes

fun layoutBytes(bytes: ByteArray, resolveOutlines: Boolean = true): List<TextGlyph>

Walk bytes one glyph at a time, dispatching to the right code-unit width (1 for simple fonts, usually 2 for Identity-H composites).